mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +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({});
|