mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
390 B
TypeScript
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;
|