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

3.4.3 • Public • Published

Installation

npm install --save @types/raf

Summary

This package contains type definitions for raf (https://github.com/chrisdickinson/raf#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/raf.

index.d.ts

declare const raf: {
    (callback: (timestamp: number) => void): number;
    cancel: (handle: number) => void;
    polyfill: (globalObject?: any) => void;
};

export = raf;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Ben Lorantfy.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/raf

Weekly Downloads

1,300,159

Version

3.4.3

License

MIT

Unpacked Size

2.85 kB

Total Files

5

Last publish

Collaborators

  • types