@types/array-foreach
Advanced tools
@@ -7,6 +7,6 @@ /** | ||
| */ | ||
| declare function forEach<T>(arr: T[], callbackfn: (value: T, index: number, array: ReadonlyArray<T>) => void): void; | ||
| declare function forEach<T>(arr: T[], callbackfn: (value: T, index: number, array: readonly T[]) => void): void; | ||
| declare function forEach<T, U>( | ||
| arr: T[], | ||
| callbackfn: (this: U, value: T, index: number, array: ReadonlyArray<T>) => void, | ||
| callbackfn: (this: U, value: T, index: number, array: readonly T[]) => void, | ||
| thisArg: U, | ||
@@ -23,9 +23,9 @@ ): void; | ||
| arr: NodeListOf<T>, | ||
| callbackfn: (value: T, index: number, array: ReadonlyArray<T>) => void, | ||
| callbackfn: (value: T, index: number, array: readonly T[]) => void, | ||
| ): void; | ||
| declare function forEach<T extends Node, U>( | ||
| arr: NodeListOf<T>, | ||
| callbackfn: (this: U, value: T, index: number, array: ReadonlyArray<T>) => void, | ||
| callbackfn: (this: U, value: T, index: number, array: readonly T[]) => void, | ||
| thisArg: U, | ||
| ): void; | ||
| export = forEach; |
| { | ||
| "name": "@types/array-foreach", | ||
| "version": "1.0.3", | ||
| "version": "1.0.4", | ||
| "description": "TypeScript definitions for array-foreach", | ||
@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/array-foreach", | ||
| "dependencies": {}, | ||
| "typesPublisherContentHash": "8dd11cd6b51edc3ab8bfeda3174d30fc2c1dc566cf7c79b90d2d911d6e6910c3", | ||
| "typesPublisherContentHash": "85629f71723da6fce16e464b11e58a0b33340e910ec26c1218da16a89200f89c", | ||
| "typeScriptVersion": "4.5" | ||
| } |
@@ -17,6 +17,6 @@ # Installation | ||
| */ | ||
| declare function forEach<T>(arr: T[], callbackfn: (value: T, index: number, array: ReadonlyArray<T>) => void): void; | ||
| declare function forEach<T>(arr: T[], callbackfn: (value: T, index: number, array: readonly T[]) => void): void; | ||
| declare function forEach<T, U>( | ||
| arr: T[], | ||
| callbackfn: (this: U, value: T, index: number, array: ReadonlyArray<T>) => void, | ||
| callbackfn: (this: U, value: T, index: number, array: readonly T[]) => void, | ||
| thisArg: U, | ||
@@ -33,7 +33,7 @@ ): void; | ||
| arr: NodeListOf<T>, | ||
| callbackfn: (value: T, index: number, array: ReadonlyArray<T>) => void, | ||
| callbackfn: (value: T, index: number, array: readonly T[]) => void, | ||
| ): void; | ||
| declare function forEach<T extends Node, U>( | ||
| arr: NodeListOf<T>, | ||
| callbackfn: (this: U, value: T, index: number, array: ReadonlyArray<T>) => void, | ||
| callbackfn: (this: U, value: T, index: number, array: readonly T[]) => void, | ||
| thisArg: U, | ||
@@ -46,3 +46,3 @@ ): void; | ||
| ### Additional Details | ||
| * Last updated: Mon, 06 Nov 2023 22:41:04 GMT | ||
| * Last updated: Mon, 20 Nov 2023 23:36:23 GMT | ||
| * Dependencies: none | ||
@@ -49,0 +49,0 @@ |
5455
-0.58%