rs-diff/index.d.ts
2020-08-14 16:11:58 +08:00

4 lines
170 B
TypeScript

export const sync: (input: number) => number
// sleep [duration] ms, return Promise which resolved 2 * duration
export const sleep: (duration: number) => Promise<number>