Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-tsserver / node_modules / typescript / lib / lib.es5.d.ts
index 48beead1ab5dbb3d43cb7436e3cc7f9f232d533a..e72f3e4fc4905d1dcb2944c77f04a913ad4dc325 100644 (file)
@@ -1067,7 +1067,7 @@ interface JSON {
     /**\r
      * Converts a JavaScript value to a JavaScript Object Notation (JSON) string.\r
      * @param value A JavaScript value, usually an object or array, to be converted.\r
-     * @param replacer An array of strings and numbers that acts as a approved list for selecting the object properties that will be stringified.\r
+     * @param replacer An array of strings and numbers that acts as an approved list for selecting the object properties that will be stringified.\r
      * @param space Adds indentation, white space, and line break characters to the return-value JSON text to make it easier to read.\r
      */\r
     stringify(value: any, replacer?: (number | string)[] | null, space?: string | number): string;\r
@@ -1131,22 +1131,31 @@ interface ReadonlyArray<T> {
     lastIndexOf(searchElement: T, fromIndex?: number): number;\r
     /**\r
      * Determines whether all the members of an array satisfy the specified test.\r
-     * @param callbackfn A function that accepts up to three arguments. The every method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The every method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value false, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    every(callbackfn: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean;\r
+    every<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisArg?: any): this is readonly S[];\r
+    /**\r
+     * Determines whether all the members of an array satisfy the specified test.\r
+     * @param predicate A function that accepts up to three arguments. The every method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
+     * which is coercible to the Boolean value false, or until the end of the array.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
+     * If thisArg is omitted, undefined is used as the this value.\r
+     */\r
+    every(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean;\r
     /**\r
      * Determines whether the specified callback function returns true for any element of an array.\r
-     * @param callbackfn A function that accepts up to three arguments. The some method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The some method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value true, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    some(callbackfn: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean;\r
+    some(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): boolean;\r
     /**\r
      * Performs the specified action for each element in an array.\r
      * @param callbackfn  A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\r
@@ -1161,16 +1170,16 @@ interface ReadonlyArray<T> {
     map<U>(callbackfn: (value: T, index: number, array: readonly T[]) => U, thisArg?: any): U[];\r
     /**\r
      * Returns the elements of an array that meet the condition specified in a callback function.\r
-     * @param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\r
+     * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    filter<S extends T>(callbackfn: (value: T, index: number, array: readonly T[]) => value is S, thisArg?: any): S[];\r
+    filter<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisArg?: any): S[];\r
     /**\r
      * Returns the elements of an array that meet the condition specified in a callback function.\r
-     * @param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\r
+     * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    filter(callbackfn: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): T[];\r
+    filter(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): T[];\r
     /**\r
      * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\r
      * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\r
@@ -1301,22 +1310,31 @@ interface Array<T> {
     lastIndexOf(searchElement: T, fromIndex?: number): number;\r
     /**\r
      * Determines whether all the members of an array satisfy the specified test.\r
-     * @param callbackfn A function that accepts up to three arguments. The every method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The every method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value false, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
+     * If thisArg is omitted, undefined is used as the this value.\r
+     */\r
+    every<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any): this is S[];\r
+    /**\r
+     * Determines whether all the members of an array satisfy the specified test.\r
+     * @param predicate A function that accepts up to three arguments. The every method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
+     * which is coercible to the Boolean value false, or until the end of the array.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    every(callbackfn: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;\r
+    every(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;\r
     /**\r
      * Determines whether the specified callback function returns true for any element of an array.\r
-     * @param callbackfn A function that accepts up to three arguments. The some method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The some method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value true, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    some(callbackfn: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;\r
+    some(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): boolean;\r
     /**\r
      * Performs the specified action for each element in an array.\r
      * @param callbackfn  A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\r
@@ -1331,16 +1349,16 @@ interface Array<T> {
     map<U>(callbackfn: (value: T, index: number, array: T[]) => U, thisArg?: any): U[];\r
     /**\r
      * Returns the elements of an array that meet the condition specified in a callback function.\r
-     * @param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\r
+     * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    filter<S extends T>(callbackfn: (value: T, index: number, array: T[]) => value is S, thisArg?: any): S[];\r
+    filter<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any): S[];\r
     /**\r
      * Returns the elements of an array that meet the condition specified in a callback function.\r
-     * @param callbackfn A function that accepts up to three arguments. The filter method calls the callbackfn function one time for each element in the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.\r
+     * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    filter(callbackfn: (value: T, index: number, array: T[]) => unknown, thisArg?: any): T[];\r
+    filter(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): T[];\r
     /**\r
      * Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\r
      * @param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\r
@@ -1378,7 +1396,7 @@ interface ArrayConstructor {
     (arrayLength?: number): any[];\r
     <T>(arrayLength: number): T[];\r
     <T>(...items: T[]): T[];\r
-    isArray(arg: any): arg is any[];\r
+    isArray<T>(arg: T | {}): arg is T extends readonly any[] ? (unknown extends T ? never : readonly any[]) : any[];\r
     readonly prototype: any[];\r
 }\r
 \r
@@ -1398,7 +1416,7 @@ declare type PropertyDecorator = (target: Object, propertyKey: string | symbol)
 declare type MethodDecorator = <T>(target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;\r
 declare type ParameterDecorator = (target: Object, propertyKey: string | symbol, parameterIndex: number) => void;\r
 \r
-declare type PromiseConstructorLike = new <T>(executor: (resolve: (value?: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void) => PromiseLike<T>;\r
+declare type PromiseConstructorLike = new <T>(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void) => PromiseLike<T>;\r
 \r
 interface PromiseLike<T> {\r
     /**\r
@@ -1510,6 +1528,26 @@ type ReturnType<T extends (...args: any) => any> = T extends (...args: any) => i
  */\r
 type InstanceType<T extends new (...args: any) => any> = T extends new (...args: any) => infer R ? R : any;\r
 \r
+/**\r
+ * Convert string literal type to uppercase\r
+ */\r
+type Uppercase<S extends string> = intrinsic;\r
+\r
+/**\r
+ * Convert string literal type to lowercase\r
+ */\r
+type Lowercase<S extends string> = intrinsic;\r
+\r
+/**\r
+ * Convert first character of string literal type to uppercase\r
+ */\r
+type Capitalize<S extends string> = intrinsic;\r
+\r
+/**\r
+ * Convert first character of string literal type to lowercase\r
+ */\r
+type Uncapitalize<S extends string> = intrinsic;\r
+\r
 /**\r
  * Marker for contextual 'this' type\r
  */\r
@@ -1694,6 +1732,7 @@ interface DataView {
 }\r
 \r
 interface DataViewConstructor {\r
+    readonly prototype: DataView;\r
     new(buffer: ArrayBufferLike, byteOffset?: number, byteLength?: number): DataView;\r
 }\r
 declare var DataView: DataViewConstructor;\r
@@ -1736,13 +1775,13 @@ interface Int8Array {
 \r
     /**\r
      * Determines whether all the members of an array satisfy the specified test.\r
-     * @param callbackfn A function that accepts up to three arguments. The every method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The every method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value false, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    every(callbackfn: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): boolean;\r
+    every(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): boolean;\r
 \r
     /**\r
      * Returns the this object after filling the section identified by start and end with value\r
@@ -1756,12 +1795,12 @@ interface Int8Array {
 \r
     /**\r
      * Returns the elements of an array that meet the condition specified in a callback function.\r
-     * @param callbackfn A function that accepts up to three arguments. The filter method calls\r
-     * the callbackfn function one time for each element in the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param predicate A function that accepts up to three arguments. The filter method calls\r
+     * the predicate function one time for each element in the array.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    filter(callbackfn: (value: number, index: number, array: Int8Array) => any, thisArg?: any): Int8Array;\r
+    filter(predicate: (value: number, index: number, array: Int8Array) => any, thisArg?: any): Int8Array;\r
 \r
     /**\r
      * Returns the value of the first element in the array where predicate is true, and undefined\r
@@ -1903,13 +1942,13 @@ interface Int8Array {
 \r
     /**\r
      * Determines whether the specified callback function returns true for any element of an array.\r
-     * @param callbackfn A function that accepts up to three arguments. The some method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The some method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value true, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    some(callbackfn: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): boolean;\r
+    some(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): boolean;\r
 \r
     /**\r
      * Sorts an array.\r
@@ -1948,8 +1987,8 @@ interface Int8Array {
 interface Int8ArrayConstructor {\r
     readonly prototype: Int8Array;\r
     new(length: number): Int8Array;\r
-    new(arrayOrArrayBuffer: ArrayLike<number> | ArrayBufferLike): Int8Array;\r
-    new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Int8Array;\r
+    new(array: ArrayLike<number> | ArrayBufferLike): Int8Array;\r
+    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int8Array;\r
 \r
     /**\r
      * The size in bytes of each element in the array.\r
@@ -2018,13 +2057,13 @@ interface Uint8Array {
 \r
     /**\r
      * Determines whether all the members of an array satisfy the specified test.\r
-     * @param callbackfn A function that accepts up to three arguments. The every method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The every method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value false, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    every(callbackfn: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): boolean;\r
+    every(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): boolean;\r
 \r
     /**\r
      * Returns the this object after filling the section identified by start and end with value\r
@@ -2038,12 +2077,12 @@ interface Uint8Array {
 \r
     /**\r
      * Returns the elements of an array that meet the condition specified in a callback function.\r
-     * @param callbackfn A function that accepts up to three arguments. The filter method calls\r
-     * the callbackfn function one time for each element in the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param predicate A function that accepts up to three arguments. The filter method calls\r
+     * the predicate function one time for each element in the array.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    filter(callbackfn: (value: number, index: number, array: Uint8Array) => any, thisArg?: any): Uint8Array;\r
+    filter(predicate: (value: number, index: number, array: Uint8Array) => any, thisArg?: any): Uint8Array;\r
 \r
     /**\r
      * Returns the value of the first element in the array where predicate is true, and undefined\r
@@ -2185,13 +2224,13 @@ interface Uint8Array {
 \r
     /**\r
      * Determines whether the specified callback function returns true for any element of an array.\r
-     * @param callbackfn A function that accepts up to three arguments. The some method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The some method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value true, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    some(callbackfn: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): boolean;\r
+    some(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): boolean;\r
 \r
     /**\r
      * Sorts an array.\r
@@ -2231,8 +2270,8 @@ interface Uint8Array {
 interface Uint8ArrayConstructor {\r
     readonly prototype: Uint8Array;\r
     new(length: number): Uint8Array;\r
-    new(arrayOrArrayBuffer: ArrayLike<number> | ArrayBufferLike): Uint8Array;\r
-    new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Uint8Array;\r
+    new(array: ArrayLike<number> | ArrayBufferLike): Uint8Array;\r
+    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array;\r
 \r
     /**\r
      * The size in bytes of each element in the array.\r
@@ -2300,13 +2339,13 @@ interface Uint8ClampedArray {
 \r
     /**\r
      * Determines whether all the members of an array satisfy the specified test.\r
-     * @param callbackfn A function that accepts up to three arguments. The every method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The every method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value false, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    every(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): boolean;\r
+    every(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): boolean;\r
 \r
     /**\r
      * Returns the this object after filling the section identified by start and end with value\r
@@ -2320,12 +2359,12 @@ interface Uint8ClampedArray {
 \r
     /**\r
      * Returns the elements of an array that meet the condition specified in a callback function.\r
-     * @param callbackfn A function that accepts up to three arguments. The filter method calls\r
-     * the callbackfn function one time for each element in the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param predicate A function that accepts up to three arguments. The filter method calls\r
+     * the predicate function one time for each element in the array.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    filter(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => any, thisArg?: any): Uint8ClampedArray;\r
+    filter(predicate: (value: number, index: number, array: Uint8ClampedArray) => any, thisArg?: any): Uint8ClampedArray;\r
 \r
     /**\r
      * Returns the value of the first element in the array where predicate is true, and undefined\r
@@ -2467,13 +2506,13 @@ interface Uint8ClampedArray {
 \r
     /**\r
      * Determines whether the specified callback function returns true for any element of an array.\r
-     * @param callbackfn A function that accepts up to three arguments. The some method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The some method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value true, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    some(callbackfn: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): boolean;\r
+    some(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): boolean;\r
 \r
     /**\r
      * Sorts an array.\r
@@ -2513,8 +2552,8 @@ interface Uint8ClampedArray {
 interface Uint8ClampedArrayConstructor {\r
     readonly prototype: Uint8ClampedArray;\r
     new(length: number): Uint8ClampedArray;\r
-    new(arrayOrArrayBuffer: ArrayLike<number> | ArrayBufferLike): Uint8ClampedArray;\r
-    new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Uint8ClampedArray;\r
+    new(array: ArrayLike<number> | ArrayBufferLike): Uint8ClampedArray;\r
+    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8ClampedArray;\r
 \r
     /**\r
      * The size in bytes of each element in the array.\r
@@ -2581,13 +2620,13 @@ interface Int16Array {
 \r
     /**\r
      * Determines whether all the members of an array satisfy the specified test.\r
-     * @param callbackfn A function that accepts up to three arguments. The every method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The every method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value false, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    every(callbackfn: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boolean;\r
+    every(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boolean;\r
 \r
     /**\r
      * Returns the this object after filling the section identified by start and end with value\r
@@ -2601,12 +2640,12 @@ interface Int16Array {
 \r
     /**\r
      * Returns the elements of an array that meet the condition specified in a callback function.\r
-     * @param callbackfn A function that accepts up to three arguments. The filter method calls\r
-     * the callbackfn function one time for each element in the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param predicate A function that accepts up to three arguments. The filter method calls\r
+     * the predicate function one time for each element in the array.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    filter(callbackfn: (value: number, index: number, array: Int16Array) => any, thisArg?: any): Int16Array;\r
+    filter(predicate: (value: number, index: number, array: Int16Array) => any, thisArg?: any): Int16Array;\r
 \r
     /**\r
      * Returns the value of the first element in the array where predicate is true, and undefined\r
@@ -2747,13 +2786,13 @@ interface Int16Array {
 \r
     /**\r
      * Determines whether the specified callback function returns true for any element of an array.\r
-     * @param callbackfn A function that accepts up to three arguments. The some method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The some method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value true, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    some(callbackfn: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boolean;\r
+    some(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): boolean;\r
 \r
     /**\r
      * Sorts an array.\r
@@ -2793,8 +2832,8 @@ interface Int16Array {
 interface Int16ArrayConstructor {\r
     readonly prototype: Int16Array;\r
     new(length: number): Int16Array;\r
-    new(arrayOrArrayBuffer: ArrayLike<number> | ArrayBufferLike): Int16Array;\r
-    new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Int16Array;\r
+    new(array: ArrayLike<number> | ArrayBufferLike): Int16Array;\r
+    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int16Array;\r
 \r
     /**\r
      * The size in bytes of each element in the array.\r
@@ -2863,13 +2902,13 @@ interface Uint16Array {
 \r
     /**\r
      * Determines whether all the members of an array satisfy the specified test.\r
-     * @param callbackfn A function that accepts up to three arguments. The every method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The every method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value false, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    every(callbackfn: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): boolean;\r
+    every(predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): boolean;\r
 \r
     /**\r
      * Returns the this object after filling the section identified by start and end with value\r
@@ -2883,12 +2922,12 @@ interface Uint16Array {
 \r
     /**\r
      * Returns the elements of an array that meet the condition specified in a callback function.\r
-     * @param callbackfn A function that accepts up to three arguments. The filter method calls\r
-     * the callbackfn function one time for each element in the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param predicate A function that accepts up to three arguments. The filter method calls\r
+     * the predicate function one time for each element in the array.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    filter(callbackfn: (value: number, index: number, array: Uint16Array) => any, thisArg?: any): Uint16Array;\r
+    filter(predicate: (value: number, index: number, array: Uint16Array) => any, thisArg?: any): Uint16Array;\r
 \r
     /**\r
      * Returns the value of the first element in the array where predicate is true, and undefined\r
@@ -3030,13 +3069,13 @@ interface Uint16Array {
 \r
     /**\r
      * Determines whether the specified callback function returns true for any element of an array.\r
-     * @param callbackfn A function that accepts up to three arguments. The some method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The some method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value true, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    some(callbackfn: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): boolean;\r
+    some(predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): boolean;\r
 \r
     /**\r
      * Sorts an array.\r
@@ -3076,8 +3115,8 @@ interface Uint16Array {
 interface Uint16ArrayConstructor {\r
     readonly prototype: Uint16Array;\r
     new(length: number): Uint16Array;\r
-    new(arrayOrArrayBuffer: ArrayLike<number> | ArrayBufferLike): Uint16Array;\r
-    new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Uint16Array;\r
+    new(array: ArrayLike<number> | ArrayBufferLike): Uint16Array;\r
+    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint16Array;\r
 \r
     /**\r
      * The size in bytes of each element in the array.\r
@@ -3145,13 +3184,13 @@ interface Int32Array {
 \r
     /**\r
      * Determines whether all the members of an array satisfy the specified test.\r
-     * @param callbackfn A function that accepts up to three arguments. The every method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The every method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value false, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    every(callbackfn: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): boolean;\r
+    every(predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): boolean;\r
 \r
     /**\r
      * Returns the this object after filling the section identified by start and end with value\r
@@ -3165,12 +3204,12 @@ interface Int32Array {
 \r
     /**\r
      * Returns the elements of an array that meet the condition specified in a callback function.\r
-     * @param callbackfn A function that accepts up to three arguments. The filter method calls\r
-     * the callbackfn function one time for each element in the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param predicate A function that accepts up to three arguments. The filter method calls\r
+     * the predicate function one time for each element in the array.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    filter(callbackfn: (value: number, index: number, array: Int32Array) => any, thisArg?: any): Int32Array;\r
+    filter(predicate: (value: number, index: number, array: Int32Array) => any, thisArg?: any): Int32Array;\r
 \r
     /**\r
      * Returns the value of the first element in the array where predicate is true, and undefined\r
@@ -3312,13 +3351,13 @@ interface Int32Array {
 \r
     /**\r
      * Determines whether the specified callback function returns true for any element of an array.\r
-     * @param callbackfn A function that accepts up to three arguments. The some method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The some method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value true, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    some(callbackfn: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): boolean;\r
+    some(predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): boolean;\r
 \r
     /**\r
      * Sorts an array.\r
@@ -3358,8 +3397,8 @@ interface Int32Array {
 interface Int32ArrayConstructor {\r
     readonly prototype: Int32Array;\r
     new(length: number): Int32Array;\r
-    new(arrayOrArrayBuffer: ArrayLike<number> | ArrayBufferLike): Int32Array;\r
-    new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Int32Array;\r
+    new(array: ArrayLike<number> | ArrayBufferLike): Int32Array;\r
+    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Int32Array;\r
 \r
     /**\r
      * The size in bytes of each element in the array.\r
@@ -3427,13 +3466,13 @@ interface Uint32Array {
 \r
     /**\r
      * Determines whether all the members of an array satisfy the specified test.\r
-     * @param callbackfn A function that accepts up to three arguments. The every method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The every method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value false, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    every(callbackfn: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): boolean;\r
+    every(predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): boolean;\r
 \r
     /**\r
      * Returns the this object after filling the section identified by start and end with value\r
@@ -3447,12 +3486,12 @@ interface Uint32Array {
 \r
     /**\r
      * Returns the elements of an array that meet the condition specified in a callback function.\r
-     * @param callbackfn A function that accepts up to three arguments. The filter method calls\r
-     * the callbackfn function one time for each element in the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param predicate A function that accepts up to three arguments. The filter method calls\r
+     * the predicate function one time for each element in the array.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    filter(callbackfn: (value: number, index: number, array: Uint32Array) => any, thisArg?: any): Uint32Array;\r
+    filter(predicate: (value: number, index: number, array: Uint32Array) => any, thisArg?: any): Uint32Array;\r
 \r
     /**\r
      * Returns the value of the first element in the array where predicate is true, and undefined\r
@@ -3593,13 +3632,13 @@ interface Uint32Array {
 \r
     /**\r
      * Determines whether the specified callback function returns true for any element of an array.\r
-     * @param callbackfn A function that accepts up to three arguments. The some method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The some method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value true, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    some(callbackfn: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): boolean;\r
+    some(predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): boolean;\r
 \r
     /**\r
      * Sorts an array.\r
@@ -3639,8 +3678,8 @@ interface Uint32Array {
 interface Uint32ArrayConstructor {\r
     readonly prototype: Uint32Array;\r
     new(length: number): Uint32Array;\r
-    new(arrayOrArrayBuffer: ArrayLike<number> | ArrayBufferLike): Uint32Array;\r
-    new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Uint32Array;\r
+    new(array: ArrayLike<number> | ArrayBufferLike): Uint32Array;\r
+    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint32Array;\r
 \r
     /**\r
      * The size in bytes of each element in the array.\r
@@ -3708,13 +3747,13 @@ interface Float32Array {
 \r
     /**\r
      * Determines whether all the members of an array satisfy the specified test.\r
-     * @param callbackfn A function that accepts up to three arguments. The every method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The every method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value false, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    every(callbackfn: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): boolean;\r
+    every(predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): boolean;\r
 \r
     /**\r
      * Returns the this object after filling the section identified by start and end with value\r
@@ -3728,12 +3767,12 @@ interface Float32Array {
 \r
     /**\r
      * Returns the elements of an array that meet the condition specified in a callback function.\r
-     * @param callbackfn A function that accepts up to three arguments. The filter method calls\r
-     * the callbackfn function one time for each element in the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param predicate A function that accepts up to three arguments. The filter method calls\r
+     * the predicate function one time for each element in the array.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    filter(callbackfn: (value: number, index: number, array: Float32Array) => any, thisArg?: any): Float32Array;\r
+    filter(predicate: (value: number, index: number, array: Float32Array) => any, thisArg?: any): Float32Array;\r
 \r
     /**\r
      * Returns the value of the first element in the array where predicate is true, and undefined\r
@@ -3875,13 +3914,13 @@ interface Float32Array {
 \r
     /**\r
      * Determines whether the specified callback function returns true for any element of an array.\r
-     * @param callbackfn A function that accepts up to three arguments. The some method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The some method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value true, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    some(callbackfn: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): boolean;\r
+    some(predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): boolean;\r
 \r
     /**\r
      * Sorts an array.\r
@@ -3921,8 +3960,8 @@ interface Float32Array {
 interface Float32ArrayConstructor {\r
     readonly prototype: Float32Array;\r
     new(length: number): Float32Array;\r
-    new(arrayOrArrayBuffer: ArrayLike<number> | ArrayBufferLike): Float32Array;\r
-    new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Float32Array;\r
+    new(array: ArrayLike<number> | ArrayBufferLike): Float32Array;\r
+    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Float32Array;\r
 \r
     /**\r
      * The size in bytes of each element in the array.\r
@@ -3991,13 +4030,13 @@ interface Float64Array {
 \r
     /**\r
      * Determines whether all the members of an array satisfy the specified test.\r
-     * @param callbackfn A function that accepts up to three arguments. The every method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The every method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value false, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    every(callbackfn: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): boolean;\r
+    every(predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): boolean;\r
 \r
     /**\r
      * Returns the this object after filling the section identified by start and end with value\r
@@ -4011,12 +4050,12 @@ interface Float64Array {
 \r
     /**\r
      * Returns the elements of an array that meet the condition specified in a callback function.\r
-     * @param callbackfn A function that accepts up to three arguments. The filter method calls\r
-     * the callbackfn function one time for each element in the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param predicate A function that accepts up to three arguments. The filter method calls\r
+     * the predicate function one time for each element in the array.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    filter(callbackfn: (value: number, index: number, array: Float64Array) => any, thisArg?: any): Float64Array;\r
+    filter(predicate: (value: number, index: number, array: Float64Array) => any, thisArg?: any): Float64Array;\r
 \r
     /**\r
      * Returns the value of the first element in the array where predicate is true, and undefined\r
@@ -4158,13 +4197,13 @@ interface Float64Array {
 \r
     /**\r
      * Determines whether the specified callback function returns true for any element of an array.\r
-     * @param callbackfn A function that accepts up to three arguments. The some method calls\r
-     * the callbackfn function for each element in the array until the callbackfn returns a value\r
+     * @param predicate A function that accepts up to three arguments. The some method calls\r
+     * the predicate function for each element in the array until the predicate returns a value\r
      * which is coercible to the Boolean value true, or until the end of the array.\r
-     * @param thisArg An object to which the this keyword can refer in the callbackfn function.\r
+     * @param thisArg An object to which the this keyword can refer in the predicate function.\r
      * If thisArg is omitted, undefined is used as the this value.\r
      */\r
-    some(callbackfn: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): boolean;\r
+    some(predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): boolean;\r
 \r
     /**\r
      * Sorts an array.\r
@@ -4195,8 +4234,8 @@ interface Float64Array {
 interface Float64ArrayConstructor {\r
     readonly prototype: Float64Array;\r
     new(length: number): Float64Array;\r
-    new(arrayOrArrayBuffer: ArrayLike<number> | ArrayBufferLike): Float64Array;\r
-    new(buffer: ArrayBufferLike, byteOffset: number, length?: number): Float64Array;\r
+    new(array: ArrayLike<number> | ArrayBufferLike): Float64Array;\r
+    new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): Float64Array;\r
 \r
     /**\r
      * The size in bytes of each element in the array.\r
@@ -4265,6 +4304,7 @@ declare namespace Intl {
         style?: string;\r
         currency?: string;\r
         currencyDisplay?: string;\r
+        currencySign?: string;\r
         useGrouping?: boolean;\r
         minimumIntegerDigits?: number;\r
         minimumFractionDigits?: number;\r