diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-10-14 18:40:54 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-10-14 18:40:54 +0200 |
commit | 9df98e65f842cf3acae09cbdd969966f42d64469 (patch) | |
tree | f071d3e09a342c208fb8e1cd3f5241d64fbfbaf3 /node_modules/tslint/lib/utils.d.ts | |
parent | 008926b18470e7f394cd640302957b29728a9803 (diff) |
update dependencies
Diffstat (limited to 'node_modules/tslint/lib/utils.d.ts')
-rw-r--r-- | node_modules/tslint/lib/utils.d.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/tslint/lib/utils.d.ts b/node_modules/tslint/lib/utils.d.ts index 09100398c..07f3bf5e5 100644 --- a/node_modules/tslint/lib/utils.d.ts +++ b/node_modules/tslint/lib/utils.d.ts @@ -52,7 +52,7 @@ export declare function find<T, U>(inputs: T[], getResult: (t: T) => U | undefin /** Returns an array that is the concatenation of all output arrays. */ export declare function flatMap<T, U>(inputs: ReadonlyArray<T>, getOutputs: (input: T, index: number) => ReadonlyArray<U>): U[]; /** Returns an array of all outputs that are not `undefined`. */ -export declare function mapDefined<T, U>(inputs: T[], getOutput: (input: T) => U | undefined): U[]; +export declare function mapDefined<T, U>(inputs: ReadonlyArray<T>, getOutput: (input: T) => U | undefined): U[]; export declare function readBufferWithDetectedEncoding(buffer: Buffer): string; export declare type Encoding = "utf8" | "utf8-bom" | "utf16le" | "utf16be"; export declare function detectBufferEncoding(buffer: Buffer, length?: number): Encoding; |