mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
13 lines
408 B
TypeScript
13 lines
408 B
TypeScript
// Type definitions for yoctodelay 1.1
|
|
// Project: https://github.com/sindresorhus/yoctodelay#readme
|
|
// Definitions by: Sean Marvi Oliver Genabe <https://github.com/seangenabe>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/**
|
|
* Delay the promise and then resolve.
|
|
* @param ms Milliseconds to delay the promise.
|
|
*/
|
|
declare function delay(ms: number): Promise<void>;
|
|
|
|
export = delay;
|