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