Skip to content

Commit

Permalink
docs(refWithControl): typo (#3948)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyao-Ye committed May 27, 2024
1 parent a6ede83 commit a706441
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/shared/refWithControl/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface ControlledRefOptions<T> {
}

/**
* Explicitly define the deps of computed.
* Fine-grained controls over ref and its reactivity.
*/
export function refWithControl<T>(
initial: T,
Expand Down
2 changes: 1 addition & 1 deletion packages/shared/useToNumber/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface UseToNumberOptions {
}

/**
* Computed reactive object.
* Reactively convert a string ref to number.
*/
export function useToNumber(
value: MaybeRefOrGetter<number | string>,
Expand Down

0 comments on commit a706441

Please sign in to comment.