Skip to content

Commit 3f9fa71

Browse files
committed
docs: Fix documentation for useTimeout
1 parent 98c4427 commit 3f9fa71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/useTimeout/stories/useTimeout.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ useTimeout(
2323

2424
### Returns
2525

26-
- `isReady: Ref<boolean> | null` the timer status
26+
- `isReady: Ref<boolean | null>` the timer status
2727
- `false` when the timer is executing
2828
- `true` when the timer is completed
2929
- `null` when the timer is cancelled

src/components/useTimeoutFn/stories/useTimeoutFn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ useTimeoutFn(
2525

2626
### Returns
2727

28-
- `isReady: Ref<boolean> | null` the timer status
28+
- `isReady: Ref<boolean | null>` the timer status
2929
- `false` when the timer is executing
3030
- `true` when the timer is completed
3131
- `null` when the timer is cancelled

0 commit comments

Comments
 (0)