mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
13 lines
366 B
TypeScript
13 lines
366 B
TypeScript
// Type definitions for animation-frame 0.1.7
|
|
// Project: https://github.com/kof/animation-frame
|
|
// Definitions by: Qinfeng Chen <https://github.com/qinfchen>
|
|
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
|
|
|
interface AnimationFrame {
|
|
new(): AnimationFrame;
|
|
request(callback: () => void): void;
|
|
}
|
|
|
|
declare var AnimationFrame: AnimationFrame;
|
|
|