DefinitelyTyped/types/concat-map/index.d.ts
2019-04-14 14:36:45 +02:00

10 lines
348 B
TypeScript

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