1 | // Type definitions for concat-map 0.0
|
2 | // Project: https://github.com/substack/node-concat-map
|
3 | // Definitions by: Claas Ahlrichs <https://github.com/claasahl>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 | // TypeScript Version: 2.7
|
6 |
|
7 | export = concat_map;
|
8 |
|
9 | declare function concat_map<T, R>(xs: T[], fn: (x: T, i: number) => R | R[]): R[];
|