mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-02 21:10:30 +00:00
* [p-each-series] add typings * [p-each-series] remove unused code * [p-each-series] widen type to PromiseLike
9 lines
396 B
TypeScript
9 lines
396 B
TypeScript
// Type definitions for p-each-series 1.0
|
|
// Project: https://github.com/sindresorhus/p-each-series#readme
|
|
// Definitions by: BendingBender <https://github.com/BendingBender>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = pEachSeries;
|
|
|
|
declare function pEachSeries<T>(input: Iterable<PromiseLike<T> | T>, iterator: (element: T, index: number) => any): Promise<T[]>;
|