DefinitelyTyped/types/raf/index.d.ts
2019-01-02 21:04:11 -05:00

13 lines
390 B
TypeScript

// Type definitions for raf 3.4
// Project: https://github.com/chrisdickinson/raf#readme
// Definitions by: Ben Lorantfy <https://github.com/BenLorantfy>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare const raf: {
(callback: (timestamp: number) => void): number;
cancel: (handle: number) => void;
polyfill: (globalObject?: any) => void;
};
export = raf;