mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Unwrap all lone ambient external modules
This commit is contained in:
23
node-array-ext/node-array-ext.d.ts
vendored
23
node-array-ext/node-array-ext.d.ts
vendored
@@ -3,15 +3,14 @@
|
||||
// Definitions by: Ben Goltz <https://github.com/Beng89>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module "node-array-ext" {
|
||||
/**
|
||||
* Processes each of the elements in the array and triggers a callback once every element has been processed.
|
||||
* - note that the elements are called in order but are not guaranteed to finish in order.
|
||||
*/
|
||||
export function asyncEach<T> (array: Array<T>, each: (i: number, element: T, done: (err?: Error) => void) => void, finish: (err?: Error) => void): void;
|
||||
/**
|
||||
* Processes each of the elements in the array and triggers a callback once every element has been processed.
|
||||
* - note that the elements are called in order and are guaranteed to finish in order.
|
||||
*/
|
||||
export function awaitEach<T> (array: Array<T>, each: (i: number, element: T, done: (err?: Error) => void) => void, finish: (err?: Error) => void): void;
|
||||
}
|
||||
|
||||
/**
|
||||
* Processes each of the elements in the array and triggers a callback once every element has been processed.
|
||||
* - note that the elements are called in order but are not guaranteed to finish in order.
|
||||
*/
|
||||
declare export function asyncEach<T>(array: Array<T>, each: (i: number, element: T, done: (err?: Error) => void) => void, finish: (err?: Error) => void): void;
|
||||
/**
|
||||
* Processes each of the elements in the array and triggers a callback once every element has been processed.
|
||||
* - note that the elements are called in order and are guaranteed to finish in order.
|
||||
*/
|
||||
declare export function awaitEach<T>(array: Array<T>, each: (i: number, element: T, done: (err?: Error) => void) => void, finish: (err?: Error) => void): void;
|
||||
|
||||
Reference in New Issue
Block a user