@types/array.prototype.flatmap
Advanced tools
Comparing version 1.2.2 to 1.2.3
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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4427
0