mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge branch 'master' into rename-repo-url
This commit is contained in:
Vendored
+2
-2
@@ -3,7 +3,7 @@
|
||||
// Definitions by: phiresky <https://github.com/phiresky/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module Wu {
|
||||
declare namespace Wu {
|
||||
type Consumer<T> = (t: T) => void;
|
||||
type Filter<T> = (t: T) => boolean;
|
||||
|
||||
@@ -66,7 +66,7 @@ declare module Wu {
|
||||
export interface WuIterable<T> extends IterableIterator<T> {
|
||||
// generated from section "copied to WuIterable" above via
|
||||
// sed -r 's/(, )?iter: Iterable<\w+>//' |
|
||||
// sed -r 's/^(\s+\w+)<T>/\1/' |
|
||||
// sed -r 's/^(\s+\w+)<T>/\1/' |
|
||||
// sed -r 's/^(\s+\w+)<T, /\1</'
|
||||
asyncEach<T>(fn: Consumer<T>, maxBlock?: number, timeout?: number): any;
|
||||
drop(n: number): WuIterable<T>;
|
||||
|
||||
Reference in New Issue
Block a user