mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-26 10:56:19 +08:00
9 lines
338 B
TypeScript
9 lines
338 B
TypeScript
// Type definitions for p-whilst 1.0
|
|
// Project: https://github.com/sindresorhus/p-whilst#readme
|
|
// Definitions by: BendingBender <https://github.com/BendingBender>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = pWhilst;
|
|
|
|
declare function pWhilst(condition: () => boolean, action: () => any): Promise<void>;
|