fix: add toLocaleString to Float64Array in es5.d.ts (#53731)

This commit is contained in:
Hideaki Noshiro
2023-04-25 11:15:08 -07:00
committed by GitHub
parent 2234d07de6
commit 6c3239ce74
+9
View File
@@ -4311,12 +4311,21 @@ interface Float64Array {
sort(compareFn?: (a: number, b: number) => number): this;
/**
* Gets a new Float64Array view of the ArrayBuffer store for this array, referencing the elements
* at begin, inclusive, up to end, exclusive.
* @param begin The index of the beginning of the array.
* @param end The index of the end of the array.
*/
subarray(begin?: number, end?: number): Float64Array;
/**
* Converts a number to a string by using the current locale.
*/
toLocaleString(): string;
/**
* Returns a string representation of an array.
*/
toString(): string;
/** Returns the primitive value of the specified object. */