mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
190 B
TypeScript
12 lines
190 B
TypeScript
import * as raf from "raf";
|
|
|
|
const handle = raf((timestamp) => {
|
|
timestamp; // $ExpectType number
|
|
});
|
|
|
|
handle; // $ExpectType number
|
|
|
|
raf.cancel(handle);
|
|
raf.polyfill();
|
|
raf.polyfill({});
|