@types/raf-schd
TypeScript icon, indicating that this package has built-in type declarations

4.0.3 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/raf-schd

      Weekly Downloads

      61,612

      Version

      4.0.3

      License

      MIT

      Unpacked Size

      2.9 kB

      Total Files

      5

      Last publish

      Collaborators

      • types