1 | // Type definitions for raf 3.4
|
2 | // Project: https://github.com/chrisdickinson/raf#readme
|
3 | // Definitions by: Ben Lorantfy <https://github.com/BenLorantfy>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | declare const raf: {
|
7 | (callback: (timestamp: number) => void): number;
|
8 | cancel: (handle: number) => void;
|
9 | polyfill: (globalObject?: any) => void;
|
10 | };
|
11 |
|
12 | export = raf;
|