diff options
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; |