Installation
npm install --save @types/raf-schd
Summary
This package contains type definitions for raf-schd (https://github.com/alexreardon/raf-schd).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/raf-schd.
index.d.ts
type ScheduledFn<T extends (...args: any[]) => void> = T & { cancel(): void };
declare function rafSchd<T extends (...args: any[]) => void>(fn: T): ScheduledFn<T>;
export = rafSchd;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Adam Bergman.