Skip to content

Commit 15d0606

Browse files
committed
types: update frame options
1 parent becef81 commit 15d0606

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/types.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -174,12 +174,9 @@ export interface FrameOptions<T extends string> {
174174
*/
175175
phases?: T[]
176176
/**
177-
* Specifies the timing mechanism used for scheduling the frame update cycle.
177+
* Specifies the ticking mechanism used to schedule frame update cycles.
178178
*
179-
* This determines how the frame updates are processed, whether through the `requestAnimationFrame` or `setTimeout` timing strategy.
180-
*
181-
* For use cases like testing, animation control, or specialized timing (e.g., in non-browser environments), you can specify
182-
* other ticker mechanism:
179+
* This determines how frame updates are processed, either via the `requestAnimationFrame` or `setTimeout` timing strategy.
183180
*
184181
* - `raf` — requestAnimationFrame
185182
* - `timeout` — setTimeout
@@ -211,7 +208,7 @@ export interface FrameOptions<T extends string> {
211208
*
212209
* @default undefined
213210
*/
214-
fps?: number
211+
fps?: number | false
215212
}
216213

217214
export * from './'

0 commit comments

Comments
 (0)