raf.d.ts 261 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 interface RafMap { [id: number]: number; } declare function wrapperRaf(callback: () => void, delayFrames?: number): number; declare namespace wrapperRaf { var cancel: (pid?: number | undefined) => void; var ids: RafMap; } export default wrapperRaf;