UNPKG

@types/concat-map

Version:
23 lines (16 loc) 715 B
# Installation > `npm install --save @types/concat-map` # Summary This package contains type definitions for concat-map (https://github.com/substack/node-concat-map). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/concat-map. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/concat-map/index.d.ts) ````ts export = concat_map; declare function concat_map<T, R>(xs: T[], fn: (x: T, i: number) => R | R[]): R[]; ```` ### Additional Details * Last updated: Mon, 06 Nov 2023 22:41:05 GMT * Dependencies: none # Credits These definitions were written by [Claas Ahlrichs](https://github.com/claasahl).