Socket
Socket
Sign inDemoInstall

@types/array.prototype.flatmap

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/array.prototype.flatmap - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

4

array.prototype.flatmap/auto.d.ts
interface Array<T> {
flatMap<U, R extends object | undefined = undefined>(
fn: (this: R, x: T, index: number, array: this) => ReadonlyArray<U>,
thisArg?: R
thisArg?: R,
): U[];

@@ -11,4 +11,4 @@ }

fn: (this: R, x: T, index: number, array: this) => ReadonlyArray<U>,
thisArg?: R
thisArg?: R,
): U[];
}

@@ -5,4 +5,4 @@ // This is the same type as the callable signature in `FlatMap` in `index.d.ts`.

fn: (this: T, x: A, index: number, array: A[]) => ReadonlyArray<B>,
thisArg?: T
thisArg?: T,
): B[];
export = flatMap;

@@ -14,3 +14,3 @@ // Type definitions for array.prototype.flatmap 1.2

fn: (this: T, x: A, index: number, array: A[]) => ReadonlyArray<B>,
thisArg?: T
thisArg?: T,
): B[];

@@ -17,0 +17,0 @@ getPolyfill(): typeof flatMapImpl;

{
"name": "@types/array.prototype.flatmap",
"version": "1.2.2",
"version": "1.2.3",
"description": "TypeScript definitions for array.prototype.flatmap",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/array.prototype.flatmap",
"license": "MIT",

@@ -27,4 +28,4 @@ "contributors": [

"dependencies": {},
"typesPublisherContentHash": "932ec47c917dd38e76b1eb11c0854d59076b6c2cf5f7273c70f0659fd33f63dd",
"typeScriptVersion": "3.0"
"typesPublisherContentHash": "644e41a2f064360b5ee5a58d464efa0c5a4344b55e959bf3d4b6b8361ea9e021",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 29 Jul 2020 06:30:43 GMT
* Last updated: Fri, 22 Sep 2023 18:11:04 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

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