Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/concat-map

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/concat-map - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

2

concat-map/index.d.ts

@@ -9,2 +9,2 @@ // Type definitions for concat-map 0.0

declare function concat_map<T, R>(xs: T[], fn: (x: T) => R | R[]): R[];
declare function concat_map<T, R>(xs: T[], fn: (x: T, i: number) => R | R[]): R[];
{
"name": "@types/concat-map",
"version": "0.0.0",
"version": "0.0.1",
"description": "TypeScript definitions for concat-map",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/concat-map",
"license": "MIT",

@@ -14,3 +15,3 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -23,4 +24,4 @@ "type": "git",

"dependencies": {},
"typesPublisherContentHash": "24270b66da9a9220b09939c73319bc60608e7b24c538d59bed31d0f8f7c6eb6e",
"typeScriptVersion": "2.7"
"typesPublisherContentHash": "dbbe949c388d33cc26ff563f1bc1280593e4e435c55cc790351ce4fb03c52e8d",
"typeScriptVersion": "3.6"
}

@@ -5,9 +5,22 @@ # Installation

# Summary
This package contains type definitions for concat-map ( https://github.com/substack/node-concat-map ).
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
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
// 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
Additional Details
* Last updated: Tue, 16 Apr 2019 00:00:35 GMT
export = concat_map;
declare function concat_map<T, R>(xs: T[], fn: (x: T, i: number) => R | R[]): R[];
````
### Additional Details
* Last updated: Thu, 12 Aug 2021 00:31:26 GMT
* Dependencies: none

@@ -17,2 +30,2 @@ * Global values: none

# Credits
These definitions were written by Claas Ahlrichs <https://github.com/claasahl>.
These definitions were written by [Claas Ahlrichs](https://github.com/claasahl).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc