mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-12 11:51:10 +08:00
9 lines
340 B
TypeScript
9 lines
340 B
TypeScript
// Type definitions for p-limit 1.1
|
|
// Project: https://github.com/sindresorhus/p-limit#readme
|
|
// Definitions by: BendingBender <https://github.com/BendingBender>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = pLimit;
|
|
|
|
declare function pLimit<T>(concurrency: number): (fn: () => PromiseLike<T>) => Promise<T>;
|