fix tests

This commit is contained in:
Ben 2019-01-02 21:04:11 -05:00
parent 1f023ca641
commit 4ff739328c
2 changed files with 2 additions and 2 deletions

View File

@ -7,6 +7,6 @@ declare const raf: {
(callback: (timestamp: number) => void): number;
cancel: (handle: number) => void;
polyfill: (globalObject?: any) => void;
}
};
export = raf;

View File

@ -1,4 +1,4 @@
import raf from "raf";
import * as raf from "raf";
const handle = raf((timestamp) => {
timestamp; // $ExpectType number