Skip to content

Commit a4b18fa

Browse files
committed
Fix array brackets
1 parent 175c012 commit a4b18fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/es2023.array.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ interface Uint8ClampedArray {
108108
* @param thisArg If provided, it will be used as the this value for each invocation of
109109
* predicate. If it is not provided, undefined is used instead.
110110
*/
111-
findLast<S extends number>(predicate: (value: number, index: number, array: Uint8ClampedArray[]) => value is S, thisArg?: any): S | undefined;
112-
findLast(predicate: (value: number, index: number, array: Uint8ClampedArray[]) => unknown, thisArg?: any): number | undefined;
111+
findLast<S extends number>(predicate: (value: number, index: number, array: Uint8ClampedArray) => value is S, thisArg?: any): S | undefined;
112+
findLast(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): number | undefined;
113113

114114
/**
115115
* Returns the index of the last element in the array where predicate is true, and -1
@@ -120,7 +120,7 @@ interface Uint8ClampedArray {
120120
* @param thisArg If provided, it will be used as the this value for each invocation of
121121
* predicate. If it is not provided, undefined is used instead.
122122
*/
123-
findLastIndex(predicate: (value: number, index: number, array: Uint8ClampedArray[]) => unknown, thisArg?: any): number;
123+
findLastIndex(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): number;
124124
}
125125

126126
interface Int16Array {

0 commit comments

Comments
 (0)