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

9 lines
348 B
TypeScript

// Type definitions for p-do-whilst 0.1
// Project: https://github.com/sindresorhus/p-do-whilst#readme
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = pDoWhilst;
declare function pDoWhilst(action: () => any, condition: () => boolean): Promise<void>;