Skip to content

Commit

Permalink
chore: fix typo (#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 authored and antfu committed May 25, 2021
1 parent 258e824 commit c0361db
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/core/useClipboard/index.md
Expand Up @@ -39,7 +39,7 @@ export interface ClipboardOptions<Source> extends ConfigurableNavigator {
*/
source?: Source
/**
* Mileseconds to reset state of `copied` ref
* Milliseconds to reset state of `copied` ref
*
* @default 1500
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/core/useClipboard/index.ts
Expand Up @@ -19,7 +19,7 @@ export interface ClipboardOptions<Source> extends ConfigurableNavigator {
source?: Source

/**
* Mileseconds to reset state of `copied` ref
* Milliseconds to reset state of `copied` ref
*
* @default 1500
*/
Expand Down
6 changes: 3 additions & 3 deletions packages/core/useWebSocket/index.md
Expand Up @@ -74,7 +74,7 @@ export interface WebSocketOptions {
onError?: (ws: WebSocket, event: Event) => void
onMessage?: (ws: WebSocket, event: MessageEvent) => void
/**
* Send heartbeat for every x mileseconds passed
* Send heartbeat for every x milliseconds passed
*
* @default false
*/
Expand All @@ -88,7 +88,7 @@ export interface WebSocketOptions {
*/
message?: string
/**
* Interval, in mileseconds
* Interval, in milliseconds
*
* @default 1000
*/
Expand All @@ -109,7 +109,7 @@ export interface WebSocketOptions {
*/
retries?: number
/**
* Delay for reconnect, in mileseconds
* Delay for reconnect, in milliseconds
*
* @default 1000
*/
Expand Down
6 changes: 3 additions & 3 deletions packages/core/useWebSocket/index.ts
Expand Up @@ -10,7 +10,7 @@ export interface WebSocketOptions {
onMessage?: (ws: WebSocket, event: MessageEvent) => void

/**
* Send heartbeat for every x mileseconds passed
* Send heartbeat for every x milliseconds passed
*
* @default false
*/
Expand All @@ -23,7 +23,7 @@ export interface WebSocketOptions {
message?: string

/**
* Interval, in mileseconds
* Interval, in milliseconds
*
* @default 1000
*/
Expand All @@ -44,7 +44,7 @@ export interface WebSocketOptions {
retries?: number

/**
* Delay for reconnect, in mileseconds
* Delay for reconnect, in milliseconds
*
* @default 1000
*/
Expand Down

0 comments on commit c0361db

Please sign in to comment.