diff --git a/src/lib/es2022.array.d.ts b/src/lib/es2022.array.d.ts index 4cbf34cb10f64..8bb656dec1365 100644 --- a/src/lib/es2022.array.d.ts +++ b/src/lib/es2022.array.d.ts @@ -1,7 +1,7 @@ interface Array { /** * Returns the item located at the specified index. - * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. + * @param index The zero-based index of the desired item. A negative index will count back from the last item. */ at(index: number): T | undefined; } @@ -9,7 +9,7 @@ interface Array { interface ReadonlyArray { /** * Returns the item located at the specified index. - * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. + * @param index The zero-based index of the desired item. A negative index will count back from the last item. */ at(index: number): T | undefined; } @@ -17,7 +17,7 @@ interface ReadonlyArray { interface Int8Array { /** * Returns the item located at the specified index. - * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. + * @param index The zero-based index of the desired item. A negative index will count back from the last item. */ at(index: number): number | undefined; } @@ -25,7 +25,7 @@ interface Int8Array { interface Uint8Array { /** * Returns the item located at the specified index. - * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. + * @param index The zero-based index of the desired item. A negative index will count back from the last item. */ at(index: number): number | undefined; } @@ -33,7 +33,7 @@ interface Uint8Array { interface Uint8ClampedArray { /** * Returns the item located at the specified index. - * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. + * @param index The zero-based index of the desired item. A negative index will count back from the last item. */ at(index: number): number | undefined; } @@ -41,7 +41,7 @@ interface Uint8ClampedArray { interface Int16Array { /** * Returns the item located at the specified index. - * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. + * @param index The zero-based index of the desired item. A negative index will count back from the last item. */ at(index: number): number | undefined; } @@ -49,7 +49,7 @@ interface Int16Array { interface Uint16Array { /** * Returns the item located at the specified index. - * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. + * @param index The zero-based index of the desired item. A negative index will count back from the last item. */ at(index: number): number | undefined; } @@ -57,7 +57,7 @@ interface Uint16Array { interface Int32Array { /** * Returns the item located at the specified index. - * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. + * @param index The zero-based index of the desired item. A negative index will count back from the last item. */ at(index: number): number | undefined; } @@ -65,7 +65,7 @@ interface Int32Array { interface Uint32Array { /** * Returns the item located at the specified index. - * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. + * @param index The zero-based index of the desired item. A negative index will count back from the last item. */ at(index: number): number | undefined; } @@ -73,7 +73,7 @@ interface Uint32Array { interface Float32Array { /** * Returns the item located at the specified index. - * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. + * @param index The zero-based index of the desired item. A negative index will count back from the last item. */ at(index: number): number | undefined; } @@ -81,7 +81,7 @@ interface Float32Array { interface Float64Array { /** * Returns the item located at the specified index. - * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. + * @param index The zero-based index of the desired item. A negative index will count back from the last item. */ at(index: number): number | undefined; } @@ -89,7 +89,7 @@ interface Float64Array { interface BigInt64Array { /** * Returns the item located at the specified index. - * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. + * @param index The zero-based index of the desired item. A negative index will count back from the last item. */ at(index: number): bigint | undefined; } @@ -97,7 +97,7 @@ interface BigInt64Array { interface BigUint64Array { /** * Returns the item located at the specified index. - * @param index The zero-based index of the desired code unit. A negative index will count back from the last item. + * @param index The zero-based index of the desired item. A negative index will count back from the last item. */ at(index: number): bigint | undefined; }