DefinitelyTyped/types/promise-sequential/index.d.ts
garyking a68b429d53 promise-sequential 1.1: New types (#39410)
* Add new types for module.

* Fix TS version.

* Use new Promise syntax.
2019-10-25 13:27:31 -07:00

12 lines
421 B
TypeScript

// Type definitions for promise-sequential 1.1
// Project: https://github.com/russiann/promise-sequential#readme
// Definitions by: Gary King <https://github.com/garyking>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.2
type PromiseFunction = () => Promise<any>;
declare function promiseSequential(promises: PromiseFunction[]): Promise<any[]>;
export = promiseSequential;