File: index.d.ts

package info (click to toggle)
node-concat-map 0.0.2%2B~0.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 160 kB
  • sloc: javascript: 59; makefile: 2
file content (9 lines) | stat: -rwxr-xr-x 359 bytes parent folder | download
1
2
3
4
5
6
7
8
9
// 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, i: number) => R | R[]): R[];