mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-15 22:40:21 +00:00
fix tests
This commit is contained in:
Vendored
+1
-1
@@ -7,6 +7,6 @@ declare const raf: {
|
||||
(callback: (timestamp: number) => void): number;
|
||||
cancel: (handle: number) => void;
|
||||
polyfill: (globalObject?: any) => void;
|
||||
}
|
||||
};
|
||||
|
||||
export = raf;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import raf from "raf";
|
||||
import * as raf from "raf";
|
||||
|
||||
const handle = raf((timestamp) => {
|
||||
timestamp; // $ExpectType number
|
||||
|
||||
Reference in New Issue
Block a user