Files
DefinitelyTyped/types/p-whilst/index.d.ts
2017-08-14 10:14:32 -07:00

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>;