Leon4gr45 commited on
Commit
6eeeba6
·
verified ·
1 Parent(s): 65e91b0

Upload folder using huggingface_hub (part 6)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +135 -0
  2. node_modules/typescript/lib/lib.es2017.string.d.ts +45 -0
  3. node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +53 -0
  4. node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +77 -0
  5. node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +53 -0
  6. node_modules/typescript/lib/lib.es2018.d.ts +24 -0
  7. node_modules/typescript/lib/lib.es2018.full.d.ts +24 -0
  8. node_modules/typescript/lib/lib.es2018.intl.d.ts +83 -0
  9. node_modules/typescript/lib/lib.es2018.promise.d.ts +30 -0
  10. node_modules/typescript/lib/lib.es2018.regexp.d.ts +37 -0
  11. node_modules/typescript/lib/lib.es2019.array.d.ts +79 -0
  12. node_modules/typescript/lib/lib.es2019.d.ts +24 -0
  13. node_modules/typescript/lib/lib.es2019.full.d.ts +24 -0
  14. node_modules/typescript/lib/lib.es2019.intl.d.ts +23 -0
  15. node_modules/typescript/lib/lib.es2019.object.d.ts +33 -0
  16. node_modules/typescript/lib/lib.es2019.string.d.ts +37 -0
  17. node_modules/typescript/lib/lib.es2019.symbol.d.ts +24 -0
  18. node_modules/typescript/lib/lib.es2020.bigint.d.ts +765 -0
  19. node_modules/typescript/lib/lib.es2020.d.ts +27 -0
  20. node_modules/typescript/lib/lib.es2020.date.d.ts +42 -0
  21. node_modules/typescript/lib/lib.es2020.full.d.ts +24 -0
  22. node_modules/typescript/lib/lib.es2020.intl.d.ts +474 -0
  23. node_modules/typescript/lib/lib.es2020.number.d.ts +28 -0
  24. node_modules/typescript/lib/lib.es2020.promise.d.ts +47 -0
  25. node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +99 -0
  26. node_modules/typescript/lib/lib.es2020.string.d.ts +44 -0
  27. node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +41 -0
  28. node_modules/typescript/lib/lib.es2021.d.ts +23 -0
  29. node_modules/typescript/lib/lib.es2021.full.d.ts +24 -0
  30. node_modules/typescript/lib/lib.es2021.intl.d.ts +166 -0
  31. node_modules/typescript/lib/lib.es2021.promise.d.ts +48 -0
  32. node_modules/typescript/lib/lib.es2021.string.d.ts +33 -0
  33. node_modules/typescript/lib/lib.es2021.weakref.d.ts +78 -0
  34. node_modules/typescript/lib/lib.es2022.array.d.ts +121 -0
  35. node_modules/typescript/lib/lib.es2022.d.ts +25 -0
  36. node_modules/typescript/lib/lib.es2022.error.d.ts +75 -0
  37. node_modules/typescript/lib/lib.es2022.full.d.ts +24 -0
  38. node_modules/typescript/lib/lib.es2022.intl.d.ts +121 -0
  39. node_modules/typescript/lib/lib.es2022.object.d.ts +26 -0
  40. node_modules/typescript/lib/lib.es2022.regexp.d.ts +39 -0
  41. node_modules/typescript/lib/lib.es2022.string.d.ts +25 -0
  42. node_modules/typescript/lib/lib.es2023.array.d.ts +924 -0
  43. node_modules/typescript/lib/lib.es2023.collection.d.ts +21 -0
  44. node_modules/typescript/lib/lib.es2023.d.ts +22 -0
  45. node_modules/typescript/lib/lib.es2023.full.d.ts +24 -0
  46. node_modules/typescript/lib/lib.es2023.intl.d.ts +56 -0
  47. node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +65 -0
  48. node_modules/typescript/lib/lib.es2024.collection.d.ts +29 -0
  49. node_modules/typescript/lib/lib.es2024.d.ts +26 -0
  50. node_modules/typescript/lib/lib.es2024.full.d.ts +24 -0
node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2015.symbol" />
20
+ /// <reference lib="es2015.symbol.wellknown" />
21
+
22
+ interface SharedArrayBuffer {
23
+ /**
24
+ * Read-only. The length of the ArrayBuffer (in bytes).
25
+ */
26
+ readonly byteLength: number;
27
+
28
+ /**
29
+ * Returns a section of an SharedArrayBuffer.
30
+ */
31
+ slice(begin?: number, end?: number): SharedArrayBuffer;
32
+ readonly [Symbol.species]: SharedArrayBuffer;
33
+ readonly [Symbol.toStringTag]: "SharedArrayBuffer";
34
+ }
35
+
36
+ interface SharedArrayBufferConstructor {
37
+ readonly prototype: SharedArrayBuffer;
38
+ new (byteLength?: number): SharedArrayBuffer;
39
+ }
40
+ declare var SharedArrayBuffer: SharedArrayBufferConstructor;
41
+
42
+ interface ArrayBufferTypes {
43
+ SharedArrayBuffer: SharedArrayBuffer;
44
+ }
45
+
46
+ interface Atomics {
47
+ /**
48
+ * Adds a value to the value at the given position in the array, returning the original value.
49
+ * Until this atomic operation completes, any other read or write operation against the array
50
+ * will block.
51
+ */
52
+ add(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
53
+
54
+ /**
55
+ * Stores the bitwise AND of a value with the value at the given position in the array,
56
+ * returning the original value. Until this atomic operation completes, any other read or
57
+ * write operation against the array will block.
58
+ */
59
+ and(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
60
+
61
+ /**
62
+ * Replaces the value at the given position in the array if the original value equals the given
63
+ * expected value, returning the original value. Until this atomic operation completes, any
64
+ * other read or write operation against the array will block.
65
+ */
66
+ compareExchange(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, expectedValue: number, replacementValue: number): number;
67
+
68
+ /**
69
+ * Replaces the value at the given position in the array, returning the original value. Until
70
+ * this atomic operation completes, any other read or write operation against the array will
71
+ * block.
72
+ */
73
+ exchange(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
74
+
75
+ /**
76
+ * Returns a value indicating whether high-performance algorithms can use atomic operations
77
+ * (`true`) or must use locks (`false`) for the given number of bytes-per-element of a typed
78
+ * array.
79
+ */
80
+ isLockFree(size: number): boolean;
81
+
82
+ /**
83
+ * Returns the value at the given position in the array. Until this atomic operation completes,
84
+ * any other read or write operation against the array will block.
85
+ */
86
+ load(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number): number;
87
+
88
+ /**
89
+ * Stores the bitwise OR of a value with the value at the given position in the array,
90
+ * returning the original value. Until this atomic operation completes, any other read or write
91
+ * operation against the array will block.
92
+ */
93
+ or(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
94
+
95
+ /**
96
+ * Stores a value at the given position in the array, returning the new value. Until this
97
+ * atomic operation completes, any other read or write operation against the array will block.
98
+ */
99
+ store(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
100
+
101
+ /**
102
+ * Subtracts a value from the value at the given position in the array, returning the original
103
+ * value. Until this atomic operation completes, any other read or write operation against the
104
+ * array will block.
105
+ */
106
+ sub(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
107
+
108
+ /**
109
+ * If the value at the given position in the array is equal to the provided value, the current
110
+ * agent is put to sleep causing execution to suspend until the timeout expires (returning
111
+ * `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns
112
+ * `"not-equal"`.
113
+ */
114
+ wait(typedArray: Int32Array<ArrayBufferLike>, index: number, value: number, timeout?: number): "ok" | "not-equal" | "timed-out";
115
+
116
+ /**
117
+ * Wakes up sleeping agents that are waiting on the given index of the array, returning the
118
+ * number of agents that were awoken.
119
+ * @param typedArray A shared Int32Array<ArrayBufferLike>.
120
+ * @param index The position in the typedArray to wake up on.
121
+ * @param count The number of sleeping agents to notify. Defaults to +Infinity.
122
+ */
123
+ notify(typedArray: Int32Array<ArrayBufferLike>, index: number, count?: number): number;
124
+
125
+ /**
126
+ * Stores the bitwise XOR of a value with the value at the given position in the array,
127
+ * returning the original value. Until this atomic operation completes, any other read or write
128
+ * operation against the array will block.
129
+ */
130
+ xor(typedArray: Int8Array<ArrayBufferLike> | Uint8Array<ArrayBufferLike> | Int16Array<ArrayBufferLike> | Uint16Array<ArrayBufferLike> | Int32Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>, index: number, value: number): number;
131
+
132
+ readonly [Symbol.toStringTag]: "Atomics";
133
+ }
134
+
135
+ declare var Atomics: Atomics;
node_modules/typescript/lib/lib.es2017.string.d.ts ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface String {
20
+ /**
21
+ * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.
22
+ * The padding is applied from the start (left) of the current string.
23
+ *
24
+ * @param maxLength The length of the resulting string once the current string has been padded.
25
+ * If this parameter is smaller than the current string's length, the current string will be returned as it is.
26
+ *
27
+ * @param fillString The string to pad the current string with.
28
+ * If this string is too long, it will be truncated and the left-most part will be applied.
29
+ * The default value for this parameter is " " (U+0020).
30
+ */
31
+ padStart(maxLength: number, fillString?: string): string;
32
+
33
+ /**
34
+ * Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.
35
+ * The padding is applied from the end (right) of the current string.
36
+ *
37
+ * @param maxLength The length of the resulting string once the current string has been padded.
38
+ * If this parameter is smaller than the current string's length, the current string will be returned as it is.
39
+ *
40
+ * @param fillString The string to pad the current string with.
41
+ * If this string is too long, it will be truncated and the left-most part will be applied.
42
+ * The default value for this parameter is " " (U+0020).
43
+ */
44
+ padEnd(maxLength: number, fillString?: string): string;
45
+ }
node_modules/typescript/lib/lib.es2017.typedarrays.d.ts ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface Int8ArrayConstructor {
20
+ new (): Int8Array<ArrayBuffer>;
21
+ }
22
+
23
+ interface Uint8ArrayConstructor {
24
+ new (): Uint8Array<ArrayBuffer>;
25
+ }
26
+
27
+ interface Uint8ClampedArrayConstructor {
28
+ new (): Uint8ClampedArray<ArrayBuffer>;
29
+ }
30
+
31
+ interface Int16ArrayConstructor {
32
+ new (): Int16Array<ArrayBuffer>;
33
+ }
34
+
35
+ interface Uint16ArrayConstructor {
36
+ new (): Uint16Array<ArrayBuffer>;
37
+ }
38
+
39
+ interface Int32ArrayConstructor {
40
+ new (): Int32Array<ArrayBuffer>;
41
+ }
42
+
43
+ interface Uint32ArrayConstructor {
44
+ new (): Uint32Array<ArrayBuffer>;
45
+ }
46
+
47
+ interface Float32ArrayConstructor {
48
+ new (): Float32Array<ArrayBuffer>;
49
+ }
50
+
51
+ interface Float64ArrayConstructor {
52
+ new (): Float64Array<ArrayBuffer>;
53
+ }
node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2018.asynciterable" />
20
+
21
+ interface AsyncGenerator<T = unknown, TReturn = any, TNext = any> extends AsyncIteratorObject<T, TReturn, TNext> {
22
+ // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.
23
+ next(...[value]: [] | [TNext]): Promise<IteratorResult<T, TReturn>>;
24
+ return(value: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;
25
+ throw(e: any): Promise<IteratorResult<T, TReturn>>;
26
+ [Symbol.asyncIterator](): AsyncGenerator<T, TReturn, TNext>;
27
+ }
28
+
29
+ interface AsyncGeneratorFunction {
30
+ /**
31
+ * Creates a new AsyncGenerator object.
32
+ * @param args A list of arguments the function accepts.
33
+ */
34
+ new (...args: any[]): AsyncGenerator;
35
+ /**
36
+ * Creates a new AsyncGenerator object.
37
+ * @param args A list of arguments the function accepts.
38
+ */
39
+ (...args: any[]): AsyncGenerator;
40
+ /**
41
+ * The length of the arguments.
42
+ */
43
+ readonly length: number;
44
+ /**
45
+ * Returns the name of the function.
46
+ */
47
+ readonly name: string;
48
+ /**
49
+ * A reference to the prototype.
50
+ */
51
+ readonly prototype: AsyncGenerator;
52
+ }
53
+
54
+ interface AsyncGeneratorFunctionConstructor {
55
+ /**
56
+ * Creates a new AsyncGenerator function.
57
+ * @param args A list of arguments the function accepts.
58
+ */
59
+ new (...args: string[]): AsyncGeneratorFunction;
60
+ /**
61
+ * Creates a new AsyncGenerator function.
62
+ * @param args A list of arguments the function accepts.
63
+ */
64
+ (...args: string[]): AsyncGeneratorFunction;
65
+ /**
66
+ * The length of the arguments.
67
+ */
68
+ readonly length: number;
69
+ /**
70
+ * Returns the name of the function.
71
+ */
72
+ readonly name: string;
73
+ /**
74
+ * A reference to the prototype.
75
+ */
76
+ readonly prototype: AsyncGeneratorFunction;
77
+ }
node_modules/typescript/lib/lib.es2018.asynciterable.d.ts ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2015.symbol" />
20
+ /// <reference lib="es2015.iterable" />
21
+
22
+ interface SymbolConstructor {
23
+ /**
24
+ * A method that returns the default async iterator for an object. Called by the semantics of
25
+ * the for-await-of statement.
26
+ */
27
+ readonly asyncIterator: unique symbol;
28
+ }
29
+
30
+ interface AsyncIterator<T, TReturn = any, TNext = any> {
31
+ // NOTE: 'next' is defined using a tuple to ensure we report the correct assignability errors in all places.
32
+ next(...[value]: [] | [TNext]): Promise<IteratorResult<T, TReturn>>;
33
+ return?(value?: TReturn | PromiseLike<TReturn>): Promise<IteratorResult<T, TReturn>>;
34
+ throw?(e?: any): Promise<IteratorResult<T, TReturn>>;
35
+ }
36
+
37
+ interface AsyncIterable<T, TReturn = any, TNext = any> {
38
+ [Symbol.asyncIterator](): AsyncIterator<T, TReturn, TNext>;
39
+ }
40
+
41
+ /**
42
+ * Describes a user-defined {@link AsyncIterator} that is also async iterable.
43
+ */
44
+ interface AsyncIterableIterator<T, TReturn = any, TNext = any> extends AsyncIterator<T, TReturn, TNext> {
45
+ [Symbol.asyncIterator](): AsyncIterableIterator<T, TReturn, TNext>;
46
+ }
47
+
48
+ /**
49
+ * Describes an {@link AsyncIterator} produced by the runtime that inherits from the intrinsic `AsyncIterator.prototype`.
50
+ */
51
+ interface AsyncIteratorObject<T, TReturn = unknown, TNext = unknown> extends AsyncIterator<T, TReturn, TNext> {
52
+ [Symbol.asyncIterator](): AsyncIteratorObject<T, TReturn, TNext>;
53
+ }
node_modules/typescript/lib/lib.es2018.d.ts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2017" />
20
+ /// <reference lib="es2018.asynciterable" />
21
+ /// <reference lib="es2018.asyncgenerator" />
22
+ /// <reference lib="es2018.promise" />
23
+ /// <reference lib="es2018.regexp" />
24
+ /// <reference lib="es2018.intl" />
node_modules/typescript/lib/lib.es2018.full.d.ts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2018" />
20
+ /// <reference lib="dom" />
21
+ /// <reference lib="webworker.importscripts" />
22
+ /// <reference lib="scripthost" />
23
+ /// <reference lib="dom.iterable" />
24
+ /// <reference lib="dom.asynciterable" />
node_modules/typescript/lib/lib.es2018.intl.d.ts ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ declare namespace Intl {
20
+ // http://cldr.unicode.org/index/cldr-spec/plural-rules#TOC-Determining-Plural-Categories
21
+ type LDMLPluralRule = "zero" | "one" | "two" | "few" | "many" | "other";
22
+ type PluralRuleType = "cardinal" | "ordinal";
23
+
24
+ interface PluralRulesOptions {
25
+ localeMatcher?: "lookup" | "best fit" | undefined;
26
+ type?: PluralRuleType | undefined;
27
+ minimumIntegerDigits?: number | undefined;
28
+ minimumFractionDigits?: number | undefined;
29
+ maximumFractionDigits?: number | undefined;
30
+ minimumSignificantDigits?: number | undefined;
31
+ maximumSignificantDigits?: number | undefined;
32
+ }
33
+
34
+ interface ResolvedPluralRulesOptions {
35
+ locale: string;
36
+ pluralCategories: LDMLPluralRule[];
37
+ type: PluralRuleType;
38
+ minimumIntegerDigits: number;
39
+ minimumFractionDigits: number;
40
+ maximumFractionDigits: number;
41
+ minimumSignificantDigits?: number;
42
+ maximumSignificantDigits?: number;
43
+ }
44
+
45
+ interface PluralRules {
46
+ resolvedOptions(): ResolvedPluralRulesOptions;
47
+ select(n: number): LDMLPluralRule;
48
+ }
49
+
50
+ interface PluralRulesConstructor {
51
+ new (locales?: string | readonly string[], options?: PluralRulesOptions): PluralRules;
52
+ (locales?: string | readonly string[], options?: PluralRulesOptions): PluralRules;
53
+ supportedLocalesOf(locales: string | readonly string[], options?: { localeMatcher?: "lookup" | "best fit"; }): string[];
54
+ }
55
+
56
+ const PluralRules: PluralRulesConstructor;
57
+
58
+ interface NumberFormatPartTypeRegistry {
59
+ literal: never;
60
+ nan: never;
61
+ infinity: never;
62
+ percent: never;
63
+ integer: never;
64
+ group: never;
65
+ decimal: never;
66
+ fraction: never;
67
+ plusSign: never;
68
+ minusSign: never;
69
+ percentSign: never;
70
+ currency: never;
71
+ }
72
+
73
+ type NumberFormatPartTypes = keyof NumberFormatPartTypeRegistry;
74
+
75
+ interface NumberFormatPart {
76
+ type: NumberFormatPartTypes;
77
+ value: string;
78
+ }
79
+
80
+ interface NumberFormat {
81
+ formatToParts(number?: number | bigint): NumberFormatPart[];
82
+ }
83
+ }
node_modules/typescript/lib/lib.es2018.promise.d.ts ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /**
20
+ * Represents the completion of an asynchronous operation
21
+ */
22
+ interface Promise<T> {
23
+ /**
24
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
25
+ * resolved value cannot be modified from the callback.
26
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
27
+ * @returns A Promise for the completion of the callback.
28
+ */
29
+ finally(onfinally?: (() => void) | undefined | null): Promise<T>;
30
+ }
node_modules/typescript/lib/lib.es2018.regexp.d.ts ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface RegExpMatchArray {
20
+ groups?: {
21
+ [key: string]: string;
22
+ };
23
+ }
24
+
25
+ interface RegExpExecArray {
26
+ groups?: {
27
+ [key: string]: string;
28
+ };
29
+ }
30
+
31
+ interface RegExp {
32
+ /**
33
+ * Returns a Boolean value indicating the state of the dotAll flag (s) used with a regular expression.
34
+ * Default is false. Read-only.
35
+ */
36
+ readonly dotAll: boolean;
37
+ }
node_modules/typescript/lib/lib.es2019.array.d.ts ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ type FlatArray<Arr, Depth extends number> = {
20
+ done: Arr;
21
+ recur: Arr extends ReadonlyArray<infer InnerArr> ? FlatArray<InnerArr, [-1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20][Depth]>
22
+ : Arr;
23
+ }[Depth extends -1 ? "done" : "recur"];
24
+
25
+ interface ReadonlyArray<T> {
26
+ /**
27
+ * Calls a defined callback function on each element of an array. Then, flattens the result into
28
+ * a new array.
29
+ * This is identical to a map followed by flat with depth 1.
30
+ *
31
+ * @param callback A function that accepts up to three arguments. The flatMap method calls the
32
+ * callback function one time for each element in the array.
33
+ * @param thisArg An object to which the this keyword can refer in the callback function. If
34
+ * thisArg is omitted, undefined is used as the this value.
35
+ */
36
+ flatMap<U, This = undefined>(
37
+ callback: (this: This, value: T, index: number, array: T[]) => U | ReadonlyArray<U>,
38
+ thisArg?: This,
39
+ ): U[];
40
+
41
+ /**
42
+ * Returns a new array with all sub-array elements concatenated into it recursively up to the
43
+ * specified depth.
44
+ *
45
+ * @param depth The maximum recursion depth
46
+ */
47
+ flat<A, D extends number = 1>(
48
+ this: A,
49
+ depth?: D,
50
+ ): FlatArray<A, D>[];
51
+ }
52
+
53
+ interface Array<T> {
54
+ /**
55
+ * Calls a defined callback function on each element of an array. Then, flattens the result into
56
+ * a new array.
57
+ * This is identical to a map followed by flat with depth 1.
58
+ *
59
+ * @param callback A function that accepts up to three arguments. The flatMap method calls the
60
+ * callback function one time for each element in the array.
61
+ * @param thisArg An object to which the this keyword can refer in the callback function. If
62
+ * thisArg is omitted, undefined is used as the this value.
63
+ */
64
+ flatMap<U, This = undefined>(
65
+ callback: (this: This, value: T, index: number, array: T[]) => U | ReadonlyArray<U>,
66
+ thisArg?: This,
67
+ ): U[];
68
+
69
+ /**
70
+ * Returns a new array with all sub-array elements concatenated into it recursively up to the
71
+ * specified depth.
72
+ *
73
+ * @param depth The maximum recursion depth
74
+ */
75
+ flat<A, D extends number = 1>(
76
+ this: A,
77
+ depth?: D,
78
+ ): FlatArray<A, D>[];
79
+ }
node_modules/typescript/lib/lib.es2019.d.ts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2018" />
20
+ /// <reference lib="es2019.array" />
21
+ /// <reference lib="es2019.object" />
22
+ /// <reference lib="es2019.string" />
23
+ /// <reference lib="es2019.symbol" />
24
+ /// <reference lib="es2019.intl" />
node_modules/typescript/lib/lib.es2019.full.d.ts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2019" />
20
+ /// <reference lib="dom" />
21
+ /// <reference lib="webworker.importscripts" />
22
+ /// <reference lib="scripthost" />
23
+ /// <reference lib="dom.iterable" />
24
+ /// <reference lib="dom.asynciterable" />
node_modules/typescript/lib/lib.es2019.intl.d.ts ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ declare namespace Intl {
20
+ interface DateTimeFormatPartTypesRegistry {
21
+ unknown: never;
22
+ }
23
+ }
node_modules/typescript/lib/lib.es2019.object.d.ts ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2015.iterable" />
20
+
21
+ interface ObjectConstructor {
22
+ /**
23
+ * Returns an object created by key-value entries for properties and methods
24
+ * @param entries An iterable object that contains key-value entries for properties and methods.
25
+ */
26
+ fromEntries<T = any>(entries: Iterable<readonly [PropertyKey, T]>): { [k: string]: T; };
27
+
28
+ /**
29
+ * Returns an object created by key-value entries for properties and methods
30
+ * @param entries An iterable object that contains key-value entries for properties and methods.
31
+ */
32
+ fromEntries(entries: Iterable<readonly any[]>): any;
33
+ }
node_modules/typescript/lib/lib.es2019.string.d.ts ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface String {
20
+ /** Removes the trailing white space and line terminator characters from a string. */
21
+ trimEnd(): string;
22
+
23
+ /** Removes the leading white space and line terminator characters from a string. */
24
+ trimStart(): string;
25
+
26
+ /**
27
+ * Removes the leading white space and line terminator characters from a string.
28
+ * @deprecated A legacy feature for browser compatibility. Use `trimStart` instead
29
+ */
30
+ trimLeft(): string;
31
+
32
+ /**
33
+ * Removes the trailing white space and line terminator characters from a string.
34
+ * @deprecated A legacy feature for browser compatibility. Use `trimEnd` instead
35
+ */
36
+ trimRight(): string;
37
+ }
node_modules/typescript/lib/lib.es2019.symbol.d.ts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface Symbol {
20
+ /**
21
+ * Expose the [[Description]] internal slot of a symbol directly.
22
+ */
23
+ readonly description: string | undefined;
24
+ }
node_modules/typescript/lib/lib.es2020.bigint.d.ts ADDED
@@ -0,0 +1,765 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2020.intl" />
20
+
21
+ interface BigIntToLocaleStringOptions {
22
+ /**
23
+ * The locale matching algorithm to use.The default is "best fit". For information about this option, see the {@link https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation Intl page}.
24
+ */
25
+ localeMatcher?: string;
26
+ /**
27
+ * The formatting style to use , the default is "decimal".
28
+ */
29
+ style?: string;
30
+
31
+ numberingSystem?: string;
32
+ /**
33
+ * The unit to use in unit formatting, Possible values are core unit identifiers, defined in UTS #35, Part 2, Section 6. A subset of units from the full list was selected for use in ECMAScript. Pairs of simple units can be concatenated with "-per-" to make a compound unit. There is no default value; if the style is "unit", the unit property must be provided.
34
+ */
35
+ unit?: string;
36
+
37
+ /**
38
+ * The unit formatting style to use in unit formatting, the defaults is "short".
39
+ */
40
+ unitDisplay?: string;
41
+
42
+ /**
43
+ * The currency to use in currency formatting. Possible values are the ISO 4217 currency codes, such as "USD" for the US dollar, "EUR" for the euro, or "CNY" for the Chinese RMB — see the Current currency & funds code list. There is no default value; if the style is "currency", the currency property must be provided. It is only used when [[Style]] has the value "currency".
44
+ */
45
+ currency?: string;
46
+
47
+ /**
48
+ * How to display the currency in currency formatting. It is only used when [[Style]] has the value "currency". The default is "symbol".
49
+ *
50
+ * "symbol" to use a localized currency symbol such as €,
51
+ *
52
+ * "code" to use the ISO currency code,
53
+ *
54
+ * "name" to use a localized currency name such as "dollar"
55
+ */
56
+ currencyDisplay?: string;
57
+
58
+ /**
59
+ * Whether to use grouping separators, such as thousands separators or thousand/lakh/crore separators. The default is true.
60
+ */
61
+ useGrouping?: boolean;
62
+
63
+ /**
64
+ * The minimum number of integer digits to use. Possible values are from 1 to 21; the default is 1.
65
+ */
66
+ minimumIntegerDigits?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21;
67
+
68
+ /**
69
+ * The minimum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number and percent formatting is 0; the default for currency formatting is the number of minor unit digits provided by the {@link http://www.currency-iso.org/en/home/tables/table-a1.html ISO 4217 currency codes list} (2 if the list doesn't provide that information).
70
+ */
71
+ minimumFractionDigits?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20;
72
+
73
+ /**
74
+ * The maximum number of fraction digits to use. Possible values are from 0 to 20; the default for plain number formatting is the larger of minimumFractionDigits and 3; the default for currency formatting is the larger of minimumFractionDigits and the number of minor unit digits provided by the {@link http://www.currency-iso.org/en/home/tables/table-a1.html ISO 4217 currency codes list} (2 if the list doesn't provide that information); the default for percent formatting is the larger of minimumFractionDigits and 0.
75
+ */
76
+ maximumFractionDigits?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20;
77
+
78
+ /**
79
+ * The minimum number of significant digits to use. Possible values are from 1 to 21; the default is 1.
80
+ */
81
+ minimumSignificantDigits?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21;
82
+
83
+ /**
84
+ * The maximum number of significant digits to use. Possible values are from 1 to 21; the default is 21.
85
+ */
86
+ maximumSignificantDigits?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21;
87
+
88
+ /**
89
+ * The formatting that should be displayed for the number, the defaults is "standard"
90
+ *
91
+ * "standard" plain number formatting
92
+ *
93
+ * "scientific" return the order-of-magnitude for formatted number.
94
+ *
95
+ * "engineering" return the exponent of ten when divisible by three
96
+ *
97
+ * "compact" string representing exponent, defaults is using the "short" form
98
+ */
99
+ notation?: string;
100
+
101
+ /**
102
+ * used only when notation is "compact"
103
+ */
104
+ compactDisplay?: string;
105
+ }
106
+
107
+ interface BigInt {
108
+ /**
109
+ * Returns a string representation of an object.
110
+ * @param radix Specifies a radix for converting numeric values to strings.
111
+ */
112
+ toString(radix?: number): string;
113
+
114
+ /** Returns a string representation appropriate to the host environment's current locale. */
115
+ toLocaleString(locales?: Intl.LocalesArgument, options?: BigIntToLocaleStringOptions): string;
116
+
117
+ /** Returns the primitive value of the specified object. */
118
+ valueOf(): bigint;
119
+
120
+ readonly [Symbol.toStringTag]: "BigInt";
121
+ }
122
+
123
+ interface BigIntConstructor {
124
+ (value: bigint | boolean | number | string): bigint;
125
+ readonly prototype: BigInt;
126
+
127
+ /**
128
+ * Interprets the low bits of a BigInt as a 2's-complement signed integer.
129
+ * All higher bits are discarded.
130
+ * @param bits The number of low bits to use
131
+ * @param int The BigInt whose bits to extract
132
+ */
133
+ asIntN(bits: number, int: bigint): bigint;
134
+ /**
135
+ * Interprets the low bits of a BigInt as an unsigned integer.
136
+ * All higher bits are discarded.
137
+ * @param bits The number of low bits to use
138
+ * @param int The BigInt whose bits to extract
139
+ */
140
+ asUintN(bits: number, int: bigint): bigint;
141
+ }
142
+
143
+ declare var BigInt: BigIntConstructor;
144
+
145
+ /**
146
+ * A typed array of 64-bit signed integer values. The contents are initialized to 0. If the
147
+ * requested number of bytes could not be allocated, an exception is raised.
148
+ */
149
+ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
150
+ /** The size in bytes of each element in the array. */
151
+ readonly BYTES_PER_ELEMENT: number;
152
+
153
+ /** The ArrayBuffer instance referenced by the array. */
154
+ readonly buffer: TArrayBuffer;
155
+
156
+ /** The length in bytes of the array. */
157
+ readonly byteLength: number;
158
+
159
+ /** The offset in bytes of the array. */
160
+ readonly byteOffset: number;
161
+
162
+ /**
163
+ * Returns the this object after copying a section of the array identified by start and end
164
+ * to the same array starting at position target
165
+ * @param target If target is negative, it is treated as length+target where length is the
166
+ * length of the array.
167
+ * @param start If start is negative, it is treated as length+start. If end is negative, it
168
+ * is treated as length+end.
169
+ * @param end If not specified, length of the this object is used as its default value.
170
+ */
171
+ copyWithin(target: number, start: number, end?: number): this;
172
+
173
+ /** Yields index, value pairs for every entry in the array. */
174
+ entries(): ArrayIterator<[number, bigint]>;
175
+
176
+ /**
177
+ * Determines whether all the members of an array satisfy the specified test.
178
+ * @param predicate A function that accepts up to three arguments. The every method calls
179
+ * the predicate function for each element in the array until the predicate returns false,
180
+ * or until the end of the array.
181
+ * @param thisArg An object to which the this keyword can refer in the predicate function.
182
+ * If thisArg is omitted, undefined is used as the this value.
183
+ */
184
+ every(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: any): boolean;
185
+
186
+ /**
187
+ * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
188
+ * @param value value to fill array section with
189
+ * @param start index to start filling the array at. If start is negative, it is treated as
190
+ * length+start where length is the length of the array.
191
+ * @param end index to stop filling the array at. If end is negative, it is treated as
192
+ * length+end.
193
+ */
194
+ fill(value: bigint, start?: number, end?: number): this;
195
+
196
+ /**
197
+ * Returns the elements of an array that meet the condition specified in a callback function.
198
+ * @param predicate A function that accepts up to three arguments. The filter method calls
199
+ * the predicate function one time for each element in the array.
200
+ * @param thisArg An object to which the this keyword can refer in the predicate function.
201
+ * If thisArg is omitted, undefined is used as the this value.
202
+ */
203
+ filter(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => any, thisArg?: any): BigInt64Array<ArrayBuffer>;
204
+
205
+ /**
206
+ * Returns the value of the first element in the array where predicate is true, and undefined
207
+ * otherwise.
208
+ * @param predicate find calls predicate once for each element of the array, in ascending
209
+ * order, until it finds one where predicate returns true. If such an element is found, find
210
+ * immediately returns that element value. Otherwise, find returns undefined.
211
+ * @param thisArg If provided, it will be used as the this value for each invocation of
212
+ * predicate. If it is not provided, undefined is used instead.
213
+ */
214
+ find(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: any): bigint | undefined;
215
+
216
+ /**
217
+ * Returns the index of the first element in the array where predicate is true, and -1
218
+ * otherwise.
219
+ * @param predicate find calls predicate once for each element of the array, in ascending
220
+ * order, until it finds one where predicate returns true. If such an element is found,
221
+ * findIndex immediately returns that element index. Otherwise, findIndex returns -1.
222
+ * @param thisArg If provided, it will be used as the this value for each invocation of
223
+ * predicate. If it is not provided, undefined is used instead.
224
+ */
225
+ findIndex(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: any): number;
226
+
227
+ /**
228
+ * Performs the specified action for each element in an array.
229
+ * @param callbackfn A function that accepts up to three arguments. forEach calls the
230
+ * callbackfn function one time for each element in the array.
231
+ * @param thisArg An object to which the this keyword can refer in the callbackfn function.
232
+ * If thisArg is omitted, undefined is used as the this value.
233
+ */
234
+ forEach(callbackfn: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => void, thisArg?: any): void;
235
+
236
+ /**
237
+ * Determines whether an array includes a certain element, returning true or false as appropriate.
238
+ * @param searchElement The element to search for.
239
+ * @param fromIndex The position in this array at which to begin searching for searchElement.
240
+ */
241
+ includes(searchElement: bigint, fromIndex?: number): boolean;
242
+
243
+ /**
244
+ * Returns the index of the first occurrence of a value in an array.
245
+ * @param searchElement The value to locate in the array.
246
+ * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
247
+ * search starts at index 0.
248
+ */
249
+ indexOf(searchElement: bigint, fromIndex?: number): number;
250
+
251
+ /**
252
+ * Adds all the elements of an array separated by the specified separator string.
253
+ * @param separator A string used to separate one element of an array from the next in the
254
+ * resulting String. If omitted, the array elements are separated with a comma.
255
+ */
256
+ join(separator?: string): string;
257
+
258
+ /** Yields each index in the array. */
259
+ keys(): ArrayIterator<number>;
260
+
261
+ /**
262
+ * Returns the index of the last occurrence of a value in an array.
263
+ * @param searchElement The value to locate in the array.
264
+ * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
265
+ * search starts at index 0.
266
+ */
267
+ lastIndexOf(searchElement: bigint, fromIndex?: number): number;
268
+
269
+ /** The length of the array. */
270
+ readonly length: number;
271
+
272
+ /**
273
+ * Calls a defined callback function on each element of an array, and returns an array that
274
+ * contains the results.
275
+ * @param callbackfn A function that accepts up to three arguments. The map method calls the
276
+ * callbackfn function one time for each element in the array.
277
+ * @param thisArg An object to which the this keyword can refer in the callbackfn function.
278
+ * If thisArg is omitted, undefined is used as the this value.
279
+ */
280
+ map(callbackfn: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => bigint, thisArg?: any): BigInt64Array<ArrayBuffer>;
281
+
282
+ /**
283
+ * Calls the specified callback function for all the elements in an array. The return value of
284
+ * the callback function is the accumulated result, and is provided as an argument in the next
285
+ * call to the callback function.
286
+ * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
287
+ * callbackfn function one time for each element in the array.
288
+ * @param initialValue If initialValue is specified, it is used as the initial value to start
289
+ * the accumulation. The first call to the callbackfn function provides this value as an argument
290
+ * instead of an array value.
291
+ */
292
+ reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => bigint): bigint;
293
+
294
+ /**
295
+ * Calls the specified callback function for all the elements in an array. The return value of
296
+ * the callback function is the accumulated result, and is provided as an argument in the next
297
+ * call to the callback function.
298
+ * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
299
+ * callbackfn function one time for each element in the array.
300
+ * @param initialValue If initialValue is specified, it is used as the initial value to start
301
+ * the accumulation. The first call to the callbackfn function provides this value as an argument
302
+ * instead of an array value.
303
+ */
304
+ reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => U, initialValue: U): U;
305
+
306
+ /**
307
+ * Calls the specified callback function for all the elements in an array, in descending order.
308
+ * The return value of the callback function is the accumulated result, and is provided as an
309
+ * argument in the next call to the callback function.
310
+ * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
311
+ * the callbackfn function one time for each element in the array.
312
+ * @param initialValue If initialValue is specified, it is used as the initial value to start
313
+ * the accumulation. The first call to the callbackfn function provides this value as an
314
+ * argument instead of an array value.
315
+ */
316
+ reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => bigint): bigint;
317
+
318
+ /**
319
+ * Calls the specified callback function for all the elements in an array, in descending order.
320
+ * The return value of the callback function is the accumulated result, and is provided as an
321
+ * argument in the next call to the callback function.
322
+ * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
323
+ * the callbackfn function one time for each element in the array.
324
+ * @param initialValue If initialValue is specified, it is used as the initial value to start
325
+ * the accumulation. The first call to the callbackfn function provides this value as an argument
326
+ * instead of an array value.
327
+ */
328
+ reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigInt64Array<TArrayBuffer>) => U, initialValue: U): U;
329
+
330
+ /** Reverses the elements in the array. */
331
+ reverse(): this;
332
+
333
+ /**
334
+ * Sets a value or an array of values.
335
+ * @param array A typed or untyped array of values to set.
336
+ * @param offset The index in the current array at which the values are to be written.
337
+ */
338
+ set(array: ArrayLike<bigint>, offset?: number): void;
339
+
340
+ /**
341
+ * Returns a section of an array.
342
+ * @param start The beginning of the specified portion of the array.
343
+ * @param end The end of the specified portion of the array.
344
+ */
345
+ slice(start?: number, end?: number): BigInt64Array<ArrayBuffer>;
346
+
347
+ /**
348
+ * Determines whether the specified callback function returns true for any element of an array.
349
+ * @param predicate A function that accepts up to three arguments. The some method calls the
350
+ * predicate function for each element in the array until the predicate returns true, or until
351
+ * the end of the array.
352
+ * @param thisArg An object to which the this keyword can refer in the predicate function.
353
+ * If thisArg is omitted, undefined is used as the this value.
354
+ */
355
+ some(predicate: (value: bigint, index: number, array: BigInt64Array<TArrayBuffer>) => boolean, thisArg?: any): boolean;
356
+
357
+ /**
358
+ * Sorts the array.
359
+ * @param compareFn The function used to determine the order of the elements. If omitted, the elements are sorted in ascending order.
360
+ */
361
+ sort(compareFn?: (a: bigint, b: bigint) => number | bigint): this;
362
+
363
+ /**
364
+ * Gets a new BigInt64Array view of the ArrayBuffer store for this array, referencing the elements
365
+ * at begin, inclusive, up to end, exclusive.
366
+ * @param begin The index of the beginning of the array.
367
+ * @param end The index of the end of the array.
368
+ */
369
+ subarray(begin?: number, end?: number): BigInt64Array<TArrayBuffer>;
370
+
371
+ /** Converts the array to a string by using the current locale. */
372
+ toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
373
+
374
+ /** Returns a string representation of the array. */
375
+ toString(): string;
376
+
377
+ /** Returns the primitive value of the specified object. */
378
+ valueOf(): BigInt64Array<TArrayBuffer>;
379
+
380
+ /** Yields each value in the array. */
381
+ values(): ArrayIterator<bigint>;
382
+
383
+ [Symbol.iterator](): ArrayIterator<bigint>;
384
+
385
+ readonly [Symbol.toStringTag]: "BigInt64Array";
386
+
387
+ [index: number]: bigint;
388
+ }
389
+ interface BigInt64ArrayConstructor {
390
+ readonly prototype: BigInt64Array<ArrayBufferLike>;
391
+ new (length?: number): BigInt64Array<ArrayBuffer>;
392
+ new (array: ArrayLike<bigint> | Iterable<bigint>): BigInt64Array<ArrayBuffer>;
393
+ new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): BigInt64Array<TArrayBuffer>;
394
+ new (buffer: ArrayBuffer, byteOffset?: number, length?: number): BigInt64Array<ArrayBuffer>;
395
+ new (array: ArrayLike<bigint> | ArrayBuffer): BigInt64Array<ArrayBuffer>;
396
+
397
+ /** The size in bytes of each element in the array. */
398
+ readonly BYTES_PER_ELEMENT: number;
399
+
400
+ /**
401
+ * Returns a new array from a set of elements.
402
+ * @param items A set of elements to include in the new array object.
403
+ */
404
+ of(...items: bigint[]): BigInt64Array<ArrayBuffer>;
405
+
406
+ /**
407
+ * Creates an array from an array-like or iterable object.
408
+ * @param arrayLike An array-like object to convert to an array.
409
+ */
410
+ from(arrayLike: ArrayLike<bigint>): BigInt64Array<ArrayBuffer>;
411
+
412
+ /**
413
+ * Creates an array from an array-like or iterable object.
414
+ * @param arrayLike An array-like object to convert to an array.
415
+ * @param mapfn A mapping function to call on every element of the array.
416
+ * @param thisArg Value of 'this' used to invoke the mapfn.
417
+ */
418
+ from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigInt64Array<ArrayBuffer>;
419
+
420
+ /**
421
+ * Creates an array from an array-like or iterable object.
422
+ * @param elements An iterable object to convert to an array.
423
+ */
424
+ from(elements: Iterable<bigint>): BigInt64Array<ArrayBuffer>;
425
+
426
+ /**
427
+ * Creates an array from an array-like or iterable object.
428
+ * @param elements An iterable object to convert to an array.
429
+ * @param mapfn A mapping function to call on every element of the array.
430
+ * @param thisArg Value of 'this' used to invoke the mapfn.
431
+ */
432
+ from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => bigint, thisArg?: any): BigInt64Array<ArrayBuffer>;
433
+ }
434
+ declare var BigInt64Array: BigInt64ArrayConstructor;
435
+
436
+ /**
437
+ * A typed array of 64-bit unsigned integer values. The contents are initialized to 0. If the
438
+ * requested number of bytes could not be allocated, an exception is raised.
439
+ */
440
+ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
441
+ /** The size in bytes of each element in the array. */
442
+ readonly BYTES_PER_ELEMENT: number;
443
+
444
+ /** The ArrayBuffer instance referenced by the array. */
445
+ readonly buffer: TArrayBuffer;
446
+
447
+ /** The length in bytes of the array. */
448
+ readonly byteLength: number;
449
+
450
+ /** The offset in bytes of the array. */
451
+ readonly byteOffset: number;
452
+
453
+ /**
454
+ * Returns the this object after copying a section of the array identified by start and end
455
+ * to the same array starting at position target
456
+ * @param target If target is negative, it is treated as length+target where length is the
457
+ * length of the array.
458
+ * @param start If start is negative, it is treated as length+start. If end is negative, it
459
+ * is treated as length+end.
460
+ * @param end If not specified, length of the this object is used as its default value.
461
+ */
462
+ copyWithin(target: number, start: number, end?: number): this;
463
+
464
+ /** Yields index, value pairs for every entry in the array. */
465
+ entries(): ArrayIterator<[number, bigint]>;
466
+
467
+ /**
468
+ * Determines whether all the members of an array satisfy the specified test.
469
+ * @param predicate A function that accepts up to three arguments. The every method calls
470
+ * the predicate function for each element in the array until the predicate returns false,
471
+ * or until the end of the array.
472
+ * @param thisArg An object to which the this keyword can refer in the predicate function.
473
+ * If thisArg is omitted, undefined is used as the this value.
474
+ */
475
+ every(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: any): boolean;
476
+
477
+ /**
478
+ * Changes all array elements from `start` to `end` index to a static `value` and returns the modified array
479
+ * @param value value to fill array section with
480
+ * @param start index to start filling the array at. If start is negative, it is treated as
481
+ * length+start where length is the length of the array.
482
+ * @param end index to stop filling the array at. If end is negative, it is treated as
483
+ * length+end.
484
+ */
485
+ fill(value: bigint, start?: number, end?: number): this;
486
+
487
+ /**
488
+ * Returns the elements of an array that meet the condition specified in a callback function.
489
+ * @param predicate A function that accepts up to three arguments. The filter method calls
490
+ * the predicate function one time for each element in the array.
491
+ * @param thisArg An object to which the this keyword can refer in the predicate function.
492
+ * If thisArg is omitted, undefined is used as the this value.
493
+ */
494
+ filter(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => any, thisArg?: any): BigUint64Array<ArrayBuffer>;
495
+
496
+ /**
497
+ * Returns the value of the first element in the array where predicate is true, and undefined
498
+ * otherwise.
499
+ * @param predicate find calls predicate once for each element of the array, in ascending
500
+ * order, until it finds one where predicate returns true. If such an element is found, find
501
+ * immediately returns that element value. Otherwise, find returns undefined.
502
+ * @param thisArg If provided, it will be used as the this value for each invocation of
503
+ * predicate. If it is not provided, undefined is used instead.
504
+ */
505
+ find(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: any): bigint | undefined;
506
+
507
+ /**
508
+ * Returns the index of the first element in the array where predicate is true, and -1
509
+ * otherwise.
510
+ * @param predicate find calls predicate once for each element of the array, in ascending
511
+ * order, until it finds one where predicate returns true. If such an element is found,
512
+ * findIndex immediately returns that element index. Otherwise, findIndex returns -1.
513
+ * @param thisArg If provided, it will be used as the this value for each invocation of
514
+ * predicate. If it is not provided, undefined is used instead.
515
+ */
516
+ findIndex(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: any): number;
517
+
518
+ /**
519
+ * Performs the specified action for each element in an array.
520
+ * @param callbackfn A function that accepts up to three arguments. forEach calls the
521
+ * callbackfn function one time for each element in the array.
522
+ * @param thisArg An object to which the this keyword can refer in the callbackfn function.
523
+ * If thisArg is omitted, undefined is used as the this value.
524
+ */
525
+ forEach(callbackfn: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => void, thisArg?: any): void;
526
+
527
+ /**
528
+ * Determines whether an array includes a certain element, returning true or false as appropriate.
529
+ * @param searchElement The element to search for.
530
+ * @param fromIndex The position in this array at which to begin searching for searchElement.
531
+ */
532
+ includes(searchElement: bigint, fromIndex?: number): boolean;
533
+
534
+ /**
535
+ * Returns the index of the first occurrence of a value in an array.
536
+ * @param searchElement The value to locate in the array.
537
+ * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
538
+ * search starts at index 0.
539
+ */
540
+ indexOf(searchElement: bigint, fromIndex?: number): number;
541
+
542
+ /**
543
+ * Adds all the elements of an array separated by the specified separator string.
544
+ * @param separator A string used to separate one element of an array from the next in the
545
+ * resulting String. If omitted, the array elements are separated with a comma.
546
+ */
547
+ join(separator?: string): string;
548
+
549
+ /** Yields each index in the array. */
550
+ keys(): ArrayIterator<number>;
551
+
552
+ /**
553
+ * Returns the index of the last occurrence of a value in an array.
554
+ * @param searchElement The value to locate in the array.
555
+ * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
556
+ * search starts at index 0.
557
+ */
558
+ lastIndexOf(searchElement: bigint, fromIndex?: number): number;
559
+
560
+ /** The length of the array. */
561
+ readonly length: number;
562
+
563
+ /**
564
+ * Calls a defined callback function on each element of an array, and returns an array that
565
+ * contains the results.
566
+ * @param callbackfn A function that accepts up to three arguments. The map method calls the
567
+ * callbackfn function one time for each element in the array.
568
+ * @param thisArg An object to which the this keyword can refer in the callbackfn function.
569
+ * If thisArg is omitted, undefined is used as the this value.
570
+ */
571
+ map(callbackfn: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => bigint, thisArg?: any): BigUint64Array<ArrayBuffer>;
572
+
573
+ /**
574
+ * Calls the specified callback function for all the elements in an array. The return value of
575
+ * the callback function is the accumulated result, and is provided as an argument in the next
576
+ * call to the callback function.
577
+ * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
578
+ * callbackfn function one time for each element in the array.
579
+ * @param initialValue If initialValue is specified, it is used as the initial value to start
580
+ * the accumulation. The first call to the callbackfn function provides this value as an argument
581
+ * instead of an array value.
582
+ */
583
+ reduce(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => bigint): bigint;
584
+
585
+ /**
586
+ * Calls the specified callback function for all the elements in an array. The return value of
587
+ * the callback function is the accumulated result, and is provided as an argument in the next
588
+ * call to the callback function.
589
+ * @param callbackfn A function that accepts up to four arguments. The reduce method calls the
590
+ * callbackfn function one time for each element in the array.
591
+ * @param initialValue If initialValue is specified, it is used as the initial value to start
592
+ * the accumulation. The first call to the callbackfn function provides this value as an argument
593
+ * instead of an array value.
594
+ */
595
+ reduce<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => U, initialValue: U): U;
596
+
597
+ /**
598
+ * Calls the specified callback function for all the elements in an array, in descending order.
599
+ * The return value of the callback function is the accumulated result, and is provided as an
600
+ * argument in the next call to the callback function.
601
+ * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
602
+ * the callbackfn function one time for each element in the array.
603
+ * @param initialValue If initialValue is specified, it is used as the initial value to start
604
+ * the accumulation. The first call to the callbackfn function provides this value as an
605
+ * argument instead of an array value.
606
+ */
607
+ reduceRight(callbackfn: (previousValue: bigint, currentValue: bigint, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => bigint): bigint;
608
+
609
+ /**
610
+ * Calls the specified callback function for all the elements in an array, in descending order.
611
+ * The return value of the callback function is the accumulated result, and is provided as an
612
+ * argument in the next call to the callback function.
613
+ * @param callbackfn A function that accepts up to four arguments. The reduceRight method calls
614
+ * the callbackfn function one time for each element in the array.
615
+ * @param initialValue If initialValue is specified, it is used as the initial value to start
616
+ * the accumulation. The first call to the callbackfn function provides this value as an argument
617
+ * instead of an array value.
618
+ */
619
+ reduceRight<U>(callbackfn: (previousValue: U, currentValue: bigint, currentIndex: number, array: BigUint64Array<TArrayBuffer>) => U, initialValue: U): U;
620
+
621
+ /** Reverses the elements in the array. */
622
+ reverse(): this;
623
+
624
+ /**
625
+ * Sets a value or an array of values.
626
+ * @param array A typed or untyped array of values to set.
627
+ * @param offset The index in the current array at which the values are to be written.
628
+ */
629
+ set(array: ArrayLike<bigint>, offset?: number): void;
630
+
631
+ /**
632
+ * Returns a section of an array.
633
+ * @param start The beginning of the specified portion of the array.
634
+ * @param end The end of the specified portion of the array.
635
+ */
636
+ slice(start?: number, end?: number): BigUint64Array<ArrayBuffer>;
637
+
638
+ /**
639
+ * Determines whether the specified callback function returns true for any element of an array.
640
+ * @param predicate A function that accepts up to three arguments. The some method calls the
641
+ * predicate function for each element in the array until the predicate returns true, or until
642
+ * the end of the array.
643
+ * @param thisArg An object to which the this keyword can refer in the predicate function.
644
+ * If thisArg is omitted, undefined is used as the this value.
645
+ */
646
+ some(predicate: (value: bigint, index: number, array: BigUint64Array<TArrayBuffer>) => boolean, thisArg?: any): boolean;
647
+
648
+ /**
649
+ * Sorts the array.
650
+ * @param compareFn The function used to determine the order of the elements. If omitted, the elements are sorted in ascending order.
651
+ */
652
+ sort(compareFn?: (a: bigint, b: bigint) => number | bigint): this;
653
+
654
+ /**
655
+ * Gets a new BigUint64Array view of the ArrayBuffer store for this array, referencing the elements
656
+ * at begin, inclusive, up to end, exclusive.
657
+ * @param begin The index of the beginning of the array.
658
+ * @param end The index of the end of the array.
659
+ */
660
+ subarray(begin?: number, end?: number): BigUint64Array<TArrayBuffer>;
661
+
662
+ /** Converts the array to a string by using the current locale. */
663
+ toLocaleString(locales?: string | string[], options?: Intl.NumberFormatOptions): string;
664
+
665
+ /** Returns a string representation of the array. */
666
+ toString(): string;
667
+
668
+ /** Returns the primitive value of the specified object. */
669
+ valueOf(): BigUint64Array<TArrayBuffer>;
670
+
671
+ /** Yields each value in the array. */
672
+ values(): ArrayIterator<bigint>;
673
+
674
+ [Symbol.iterator](): ArrayIterator<bigint>;
675
+
676
+ readonly [Symbol.toStringTag]: "BigUint64Array";
677
+
678
+ [index: number]: bigint;
679
+ }
680
+ interface BigUint64ArrayConstructor {
681
+ readonly prototype: BigUint64Array<ArrayBufferLike>;
682
+ new (length?: number): BigUint64Array<ArrayBuffer>;
683
+ new (array: ArrayLike<bigint> | Iterable<bigint>): BigUint64Array<ArrayBuffer>;
684
+ new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): BigUint64Array<TArrayBuffer>;
685
+ new (buffer: ArrayBuffer, byteOffset?: number, length?: number): BigUint64Array<ArrayBuffer>;
686
+ new (array: ArrayLike<bigint> | ArrayBuffer): BigUint64Array<ArrayBuffer>;
687
+
688
+ /** The size in bytes of each element in the array. */
689
+ readonly BYTES_PER_ELEMENT: number;
690
+
691
+ /**
692
+ * Returns a new array from a set of elements.
693
+ * @param items A set of elements to include in the new array object.
694
+ */
695
+ of(...items: bigint[]): BigUint64Array<ArrayBuffer>;
696
+
697
+ /**
698
+ * Creates an array from an array-like or iterable object.
699
+ * @param arrayLike An array-like object to convert to an array.
700
+ */
701
+ from(arrayLike: ArrayLike<bigint>): BigUint64Array<ArrayBuffer>;
702
+
703
+ /**
704
+ * Creates an array from an array-like or iterable object.
705
+ * @param arrayLike An array-like object to convert to an array.
706
+ * @param mapfn A mapping function to call on every element of the array.
707
+ * @param thisArg Value of 'this' used to invoke the mapfn.
708
+ */
709
+ from<U>(arrayLike: ArrayLike<U>, mapfn: (v: U, k: number) => bigint, thisArg?: any): BigUint64Array<ArrayBuffer>;
710
+
711
+ /**
712
+ * Creates an array from an array-like or iterable object.
713
+ * @param elements An iterable object to convert to an array.
714
+ */
715
+ from(elements: Iterable<bigint>): BigUint64Array<ArrayBuffer>;
716
+
717
+ /**
718
+ * Creates an array from an array-like or iterable object.
719
+ * @param elements An iterable object to convert to an array.
720
+ * @param mapfn A mapping function to call on every element of the array.
721
+ * @param thisArg Value of 'this' used to invoke the mapfn.
722
+ */
723
+ from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => bigint, thisArg?: any): BigUint64Array<ArrayBuffer>;
724
+ }
725
+ declare var BigUint64Array: BigUint64ArrayConstructor;
726
+
727
+ interface DataView<TArrayBuffer extends ArrayBufferLike> {
728
+ /**
729
+ * Gets the BigInt64 value at the specified byte offset from the start of the view. There is
730
+ * no alignment constraint; multi-byte values may be fetched from any offset.
731
+ * @param byteOffset The place in the buffer at which the value should be retrieved.
732
+ * @param littleEndian If false or undefined, a big-endian value should be read.
733
+ */
734
+ getBigInt64(byteOffset: number, littleEndian?: boolean): bigint;
735
+
736
+ /**
737
+ * Gets the BigUint64 value at the specified byte offset from the start of the view. There is
738
+ * no alignment constraint; multi-byte values may be fetched from any offset.
739
+ * @param byteOffset The place in the buffer at which the value should be retrieved.
740
+ * @param littleEndian If false or undefined, a big-endian value should be read.
741
+ */
742
+ getBigUint64(byteOffset: number, littleEndian?: boolean): bigint;
743
+
744
+ /**
745
+ * Stores a BigInt64 value at the specified byte offset from the start of the view.
746
+ * @param byteOffset The place in the buffer at which the value should be set.
747
+ * @param value The value to set.
748
+ * @param littleEndian If false or undefined, a big-endian value should be written.
749
+ */
750
+ setBigInt64(byteOffset: number, value: bigint, littleEndian?: boolean): void;
751
+
752
+ /**
753
+ * Stores a BigUint64 value at the specified byte offset from the start of the view.
754
+ * @param byteOffset The place in the buffer at which the value should be set.
755
+ * @param value The value to set.
756
+ * @param littleEndian If false or undefined, a big-endian value should be written.
757
+ */
758
+ setBigUint64(byteOffset: number, value: bigint, littleEndian?: boolean): void;
759
+ }
760
+
761
+ declare namespace Intl {
762
+ interface NumberFormat {
763
+ format(value: number | bigint): string;
764
+ }
765
+ }
node_modules/typescript/lib/lib.es2020.d.ts ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2019" />
20
+ /// <reference lib="es2020.bigint" />
21
+ /// <reference lib="es2020.date" />
22
+ /// <reference lib="es2020.number" />
23
+ /// <reference lib="es2020.promise" />
24
+ /// <reference lib="es2020.sharedmemory" />
25
+ /// <reference lib="es2020.string" />
26
+ /// <reference lib="es2020.symbol.wellknown" />
27
+ /// <reference lib="es2020.intl" />
node_modules/typescript/lib/lib.es2020.date.d.ts ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2020.intl" />
20
+
21
+ interface Date {
22
+ /**
23
+ * Converts a date and time to a string by using the current or specified locale.
24
+ * @param locales A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
25
+ * @param options An object that contains one or more properties that specify comparison options.
26
+ */
27
+ toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
28
+
29
+ /**
30
+ * Converts a date to a string by using the current or specified locale.
31
+ * @param locales A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
32
+ * @param options An object that contains one or more properties that specify comparison options.
33
+ */
34
+ toLocaleDateString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
35
+
36
+ /**
37
+ * Converts a time to a string by using the current or specified locale.
38
+ * @param locales A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
39
+ * @param options An object that contains one or more properties that specify comparison options.
40
+ */
41
+ toLocaleTimeString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): string;
42
+ }
node_modules/typescript/lib/lib.es2020.full.d.ts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2020" />
20
+ /// <reference lib="dom" />
21
+ /// <reference lib="webworker.importscripts" />
22
+ /// <reference lib="scripthost" />
23
+ /// <reference lib="dom.iterable" />
24
+ /// <reference lib="dom.asynciterable" />
node_modules/typescript/lib/lib.es2020.intl.d.ts ADDED
@@ -0,0 +1,474 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2018.intl" />
20
+ declare namespace Intl {
21
+ /**
22
+ * A string that is a valid [Unicode BCP 47 Locale Identifier](https://unicode.org/reports/tr35/#Unicode_locale_identifier).
23
+ *
24
+ * For example: "fa", "es-MX", "zh-Hant-TW".
25
+ *
26
+ * See [MDN - Intl - locales argument](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).
27
+ */
28
+ type UnicodeBCP47LocaleIdentifier = string;
29
+
30
+ /**
31
+ * Unit to use in the relative time internationalized message.
32
+ *
33
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format#Parameters).
34
+ */
35
+ type RelativeTimeFormatUnit =
36
+ | "year"
37
+ | "years"
38
+ | "quarter"
39
+ | "quarters"
40
+ | "month"
41
+ | "months"
42
+ | "week"
43
+ | "weeks"
44
+ | "day"
45
+ | "days"
46
+ | "hour"
47
+ | "hours"
48
+ | "minute"
49
+ | "minutes"
50
+ | "second"
51
+ | "seconds";
52
+
53
+ /**
54
+ * Value of the `unit` property in objects returned by
55
+ * `Intl.RelativeTimeFormat.prototype.formatToParts()`. `formatToParts` and
56
+ * `format` methods accept either singular or plural unit names as input,
57
+ * but `formatToParts` only outputs singular (e.g. "day") not plural (e.g.
58
+ * "days").
59
+ *
60
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts).
61
+ */
62
+ type RelativeTimeFormatUnitSingular =
63
+ | "year"
64
+ | "quarter"
65
+ | "month"
66
+ | "week"
67
+ | "day"
68
+ | "hour"
69
+ | "minute"
70
+ | "second";
71
+
72
+ /**
73
+ * The locale matching algorithm to use.
74
+ *
75
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation).
76
+ */
77
+ type RelativeTimeFormatLocaleMatcher = "lookup" | "best fit";
78
+
79
+ /**
80
+ * The format of output message.
81
+ *
82
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).
83
+ */
84
+ type RelativeTimeFormatNumeric = "always" | "auto";
85
+
86
+ /**
87
+ * The length of the internationalized message.
88
+ *
89
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).
90
+ */
91
+ type RelativeTimeFormatStyle = "long" | "short" | "narrow";
92
+
93
+ /**
94
+ * The locale or locales to use
95
+ *
96
+ * See [MDN - Intl - locales argument](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument).
97
+ */
98
+ type LocalesArgument = UnicodeBCP47LocaleIdentifier | Locale | readonly (UnicodeBCP47LocaleIdentifier | Locale)[] | undefined;
99
+
100
+ /**
101
+ * An object with some or all of properties of `options` parameter
102
+ * of `Intl.RelativeTimeFormat` constructor.
103
+ *
104
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).
105
+ */
106
+ interface RelativeTimeFormatOptions {
107
+ /** The locale matching algorithm to use. For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation). */
108
+ localeMatcher?: RelativeTimeFormatLocaleMatcher;
109
+ /** The format of output message. */
110
+ numeric?: RelativeTimeFormatNumeric;
111
+ /** The length of the internationalized message. */
112
+ style?: RelativeTimeFormatStyle;
113
+ }
114
+
115
+ /**
116
+ * An object with properties reflecting the locale
117
+ * and formatting options computed during initialization
118
+ * of the `Intl.RelativeTimeFormat` object
119
+ *
120
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions#Description).
121
+ */
122
+ interface ResolvedRelativeTimeFormatOptions {
123
+ locale: UnicodeBCP47LocaleIdentifier;
124
+ style: RelativeTimeFormatStyle;
125
+ numeric: RelativeTimeFormatNumeric;
126
+ numberingSystem: string;
127
+ }
128
+
129
+ /**
130
+ * An object representing the relative time format in parts
131
+ * that can be used for custom locale-aware formatting.
132
+ *
133
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts#Using_formatToParts).
134
+ */
135
+ type RelativeTimeFormatPart =
136
+ | {
137
+ type: "literal";
138
+ value: string;
139
+ }
140
+ | {
141
+ type: Exclude<NumberFormatPartTypes, "literal">;
142
+ value: string;
143
+ unit: RelativeTimeFormatUnitSingular;
144
+ };
145
+
146
+ interface RelativeTimeFormat {
147
+ /**
148
+ * Formats a value and a unit according to the locale
149
+ * and formatting options of the given
150
+ * [`Intl.RelativeTimeFormat`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)
151
+ * object.
152
+ *
153
+ * While this method automatically provides the correct plural forms,
154
+ * the grammatical form is otherwise as neutral as possible.
155
+ *
156
+ * It is the caller's responsibility to handle cut-off logic
157
+ * such as deciding between displaying "in 7 days" or "in 1 week".
158
+ * This API does not support relative dates involving compound units.
159
+ * e.g "in 5 days and 4 hours".
160
+ *
161
+ * @param value - Numeric value to use in the internationalized relative time message
162
+ *
163
+ * @param unit - [Unit](https://tc39.es/ecma402/#sec-singularrelativetimeunit) to use in the relative time internationalized message.
164
+ *
165
+ * @throws `RangeError` if `unit` was given something other than `unit` possible values
166
+ *
167
+ * @returns {string} Internationalized relative time message as string
168
+ *
169
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format).
170
+ */
171
+ format(value: number, unit: RelativeTimeFormatUnit): string;
172
+
173
+ /**
174
+ * Returns an array of objects representing the relative time format in parts that can be used for custom locale-aware formatting.
175
+ *
176
+ * @param value - Numeric value to use in the internationalized relative time message
177
+ *
178
+ * @param unit - [Unit](https://tc39.es/ecma402/#sec-singularrelativetimeunit) to use in the relative time internationalized message.
179
+ *
180
+ * @throws `RangeError` if `unit` was given something other than `unit` possible values
181
+ *
182
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/formatToParts).
183
+ */
184
+ formatToParts(value: number, unit: RelativeTimeFormatUnit): RelativeTimeFormatPart[];
185
+
186
+ /**
187
+ * Provides access to the locale and options computed during initialization of this `Intl.RelativeTimeFormat` object.
188
+ *
189
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/resolvedOptions).
190
+ */
191
+ resolvedOptions(): ResolvedRelativeTimeFormatOptions;
192
+ }
193
+
194
+ /**
195
+ * The [`Intl.RelativeTimeFormat`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat)
196
+ * object is a constructor for objects that enable language-sensitive relative time formatting.
197
+ *
198
+ * [Compatibility](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat#Browser_compatibility).
199
+ */
200
+ const RelativeTimeFormat: {
201
+ /**
202
+ * Creates [Intl.RelativeTimeFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) objects
203
+ *
204
+ * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.
205
+ * For the general form and interpretation of the locales argument,
206
+ * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
207
+ *
208
+ * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)
209
+ * with some or all of options of `RelativeTimeFormatOptions`.
210
+ *
211
+ * @returns [Intl.RelativeTimeFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/RelativeTimeFormat) object.
212
+ *
213
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat).
214
+ */
215
+ new (
216
+ locales?: LocalesArgument,
217
+ options?: RelativeTimeFormatOptions,
218
+ ): RelativeTimeFormat;
219
+
220
+ /**
221
+ * Returns an array containing those of the provided locales
222
+ * that are supported in date and time formatting
223
+ * without having to fall back to the runtime's default locale.
224
+ *
225
+ * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.
226
+ * For the general form and interpretation of the locales argument,
227
+ * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
228
+ *
229
+ * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters)
230
+ * with some or all of options of the formatting.
231
+ *
232
+ * @returns An array containing those of the provided locales
233
+ * that are supported in date and time formatting
234
+ * without having to fall back to the runtime's default locale.
235
+ *
236
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/supportedLocalesOf).
237
+ */
238
+ supportedLocalesOf(
239
+ locales?: LocalesArgument,
240
+ options?: RelativeTimeFormatOptions,
241
+ ): UnicodeBCP47LocaleIdentifier[];
242
+ };
243
+
244
+ interface NumberFormatOptionsStyleRegistry {
245
+ unit: never;
246
+ }
247
+
248
+ interface NumberFormatOptionsCurrencyDisplayRegistry {
249
+ narrowSymbol: never;
250
+ }
251
+
252
+ interface NumberFormatOptionsSignDisplayRegistry {
253
+ auto: never;
254
+ never: never;
255
+ always: never;
256
+ exceptZero: never;
257
+ }
258
+
259
+ type NumberFormatOptionsSignDisplay = keyof NumberFormatOptionsSignDisplayRegistry;
260
+
261
+ interface NumberFormatOptions {
262
+ numberingSystem?: string | undefined;
263
+ compactDisplay?: "short" | "long" | undefined;
264
+ notation?: "standard" | "scientific" | "engineering" | "compact" | undefined;
265
+ signDisplay?: NumberFormatOptionsSignDisplay | undefined;
266
+ unit?: string | undefined;
267
+ unitDisplay?: "short" | "long" | "narrow" | undefined;
268
+ currencySign?: "standard" | "accounting" | undefined;
269
+ }
270
+
271
+ interface ResolvedNumberFormatOptions {
272
+ compactDisplay?: "short" | "long";
273
+ notation: "standard" | "scientific" | "engineering" | "compact";
274
+ signDisplay: NumberFormatOptionsSignDisplay;
275
+ unit?: string;
276
+ unitDisplay?: "short" | "long" | "narrow";
277
+ currencySign?: "standard" | "accounting";
278
+ }
279
+
280
+ interface NumberFormatPartTypeRegistry {
281
+ compact: never;
282
+ exponentInteger: never;
283
+ exponentMinusSign: never;
284
+ exponentSeparator: never;
285
+ unit: never;
286
+ unknown: never;
287
+ }
288
+
289
+ interface DateTimeFormatOptions {
290
+ calendar?: string | undefined;
291
+ dayPeriod?: "narrow" | "short" | "long" | undefined;
292
+ numberingSystem?: string | undefined;
293
+
294
+ dateStyle?: "full" | "long" | "medium" | "short" | undefined;
295
+ timeStyle?: "full" | "long" | "medium" | "short" | undefined;
296
+ hourCycle?: "h11" | "h12" | "h23" | "h24" | undefined;
297
+ }
298
+
299
+ type LocaleHourCycleKey = "h12" | "h23" | "h11" | "h24";
300
+ type LocaleCollationCaseFirst = "upper" | "lower" | "false";
301
+
302
+ interface LocaleOptions {
303
+ /** A string containing the language, and the script and region if available. */
304
+ baseName?: string;
305
+ /** The part of the Locale that indicates the locale's calendar era. */
306
+ calendar?: string;
307
+ /** Flag that defines whether case is taken into account for the locale's collation rules. */
308
+ caseFirst?: LocaleCollationCaseFirst;
309
+ /** The collation type used for sorting */
310
+ collation?: string;
311
+ /** The time keeping format convention used by the locale. */
312
+ hourCycle?: LocaleHourCycleKey;
313
+ /** The primary language subtag associated with the locale. */
314
+ language?: string;
315
+ /** The numeral system used by the locale. */
316
+ numberingSystem?: string;
317
+ /** Flag that defines whether the locale has special collation handling for numeric characters. */
318
+ numeric?: boolean;
319
+ /** The region of the world (usually a country) associated with the locale. Possible values are region codes as defined by ISO 3166-1. */
320
+ region?: string;
321
+ /** The script used for writing the particular language used in the locale. Possible values are script codes as defined by ISO 15924. */
322
+ script?: string;
323
+ }
324
+
325
+ interface Locale extends LocaleOptions {
326
+ /** A string containing the language, and the script and region if available. */
327
+ baseName: string;
328
+ /** The primary language subtag associated with the locale. */
329
+ language: string;
330
+ /** Gets the most likely values for the language, script, and region of the locale based on existing values. */
331
+ maximize(): Locale;
332
+ /** Attempts to remove information about the locale that would be added by calling `Locale.maximize()`. */
333
+ minimize(): Locale;
334
+ /** Returns the locale's full locale identifier string. */
335
+ toString(): UnicodeBCP47LocaleIdentifier;
336
+ }
337
+
338
+ /**
339
+ * Constructor creates [Intl.Locale](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale)
340
+ * objects
341
+ *
342
+ * @param tag - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646).
343
+ * For the general form and interpretation of the locales argument,
344
+ * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
345
+ *
346
+ * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/Locale#Parameters) with some or all of options of the locale.
347
+ *
348
+ * @returns [Intl.Locale](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale) object.
349
+ *
350
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale).
351
+ */
352
+ const Locale: {
353
+ new (tag: UnicodeBCP47LocaleIdentifier | Locale, options?: LocaleOptions): Locale;
354
+ };
355
+
356
+ type DisplayNamesFallback =
357
+ | "code"
358
+ | "none";
359
+
360
+ type DisplayNamesType =
361
+ | "language"
362
+ | "region"
363
+ | "script"
364
+ | "calendar"
365
+ | "dateTimeField"
366
+ | "currency";
367
+
368
+ type DisplayNamesLanguageDisplay =
369
+ | "dialect"
370
+ | "standard";
371
+
372
+ interface DisplayNamesOptions {
373
+ localeMatcher?: RelativeTimeFormatLocaleMatcher;
374
+ style?: RelativeTimeFormatStyle;
375
+ type: DisplayNamesType;
376
+ languageDisplay?: DisplayNamesLanguageDisplay;
377
+ fallback?: DisplayNamesFallback;
378
+ }
379
+
380
+ interface ResolvedDisplayNamesOptions {
381
+ locale: UnicodeBCP47LocaleIdentifier;
382
+ style: RelativeTimeFormatStyle;
383
+ type: DisplayNamesType;
384
+ fallback: DisplayNamesFallback;
385
+ languageDisplay?: DisplayNamesLanguageDisplay;
386
+ }
387
+
388
+ interface DisplayNames {
389
+ /**
390
+ * Receives a code and returns a string based on the locale and options provided when instantiating
391
+ * [`Intl.DisplayNames()`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames)
392
+ *
393
+ * @param code The `code` to provide depends on the `type` passed to display name during creation:
394
+ * - If the type is `"region"`, code should be either an [ISO-3166 two letters region code](https://www.iso.org/iso-3166-country-codes.html),
395
+ * or a [three digits UN M49 Geographic Regions](https://unstats.un.org/unsd/methodology/m49/).
396
+ * - If the type is `"script"`, code should be an [ISO-15924 four letters script code](https://unicode.org/iso15924/iso15924-codes.html).
397
+ * - If the type is `"language"`, code should be a `languageCode` ["-" `scriptCode`] ["-" `regionCode` ] *("-" `variant` )
398
+ * subsequence of the unicode_language_id grammar in [UTS 35's Unicode Language and Locale Identifiers grammar](https://unicode.org/reports/tr35/#Unicode_language_identifier).
399
+ * `languageCode` is either a two letters ISO 639-1 language code or a three letters ISO 639-2 language code.
400
+ * - If the type is `"currency"`, code should be a [3-letter ISO 4217 currency code](https://www.iso.org/iso-4217-currency-codes.html).
401
+ *
402
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/of).
403
+ */
404
+ of(code: string): string | undefined;
405
+ /**
406
+ * Returns a new object with properties reflecting the locale and style formatting options computed during the construction of the current
407
+ * [`Intl/DisplayNames`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) object.
408
+ *
409
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/resolvedOptions).
410
+ */
411
+ resolvedOptions(): ResolvedDisplayNamesOptions;
412
+ }
413
+
414
+ /**
415
+ * The [`Intl.DisplayNames()`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames)
416
+ * object enables the consistent translation of language, region and script display names.
417
+ *
418
+ * [Compatibility](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames#browser_compatibility).
419
+ */
420
+ const DisplayNames: {
421
+ prototype: DisplayNames;
422
+
423
+ /**
424
+ * @param locales A string with a BCP 47 language tag, or an array of such strings.
425
+ * For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation)
426
+ * page.
427
+ *
428
+ * @param options An object for setting up a display name.
429
+ *
430
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/DisplayNames).
431
+ */
432
+ new (locales: LocalesArgument, options: DisplayNamesOptions): DisplayNames;
433
+
434
+ /**
435
+ * Returns an array containing those of the provided locales that are supported in display names without having to fall back to the runtime's default locale.
436
+ *
437
+ * @param locales A string with a BCP 47 language tag, or an array of such strings.
438
+ * For the general form and interpretation of the `locales` argument, see the [Intl](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#locale_identification_and_negotiation)
439
+ * page.
440
+ *
441
+ * @param options An object with a locale matcher.
442
+ *
443
+ * @returns An array of strings representing a subset of the given locale tags that are supported in display names without having to fall back to the runtime's default locale.
444
+ *
445
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/supportedLocalesOf).
446
+ */
447
+ supportedLocalesOf(locales?: LocalesArgument, options?: { localeMatcher?: RelativeTimeFormatLocaleMatcher; }): UnicodeBCP47LocaleIdentifier[];
448
+ };
449
+
450
+ interface CollatorConstructor {
451
+ new (locales?: LocalesArgument, options?: CollatorOptions): Collator;
452
+ (locales?: LocalesArgument, options?: CollatorOptions): Collator;
453
+ supportedLocalesOf(locales: LocalesArgument, options?: CollatorOptions): string[];
454
+ }
455
+
456
+ interface DateTimeFormatConstructor {
457
+ new (locales?: LocalesArgument, options?: DateTimeFormatOptions): DateTimeFormat;
458
+ (locales?: LocalesArgument, options?: DateTimeFormatOptions): DateTimeFormat;
459
+ supportedLocalesOf(locales: LocalesArgument, options?: DateTimeFormatOptions): string[];
460
+ }
461
+
462
+ interface NumberFormatConstructor {
463
+ new (locales?: LocalesArgument, options?: NumberFormatOptions): NumberFormat;
464
+ (locales?: LocalesArgument, options?: NumberFormatOptions): NumberFormat;
465
+ supportedLocalesOf(locales: LocalesArgument, options?: NumberFormatOptions): string[];
466
+ }
467
+
468
+ interface PluralRulesConstructor {
469
+ new (locales?: LocalesArgument, options?: PluralRulesOptions): PluralRules;
470
+ (locales?: LocalesArgument, options?: PluralRulesOptions): PluralRules;
471
+
472
+ supportedLocalesOf(locales: LocalesArgument, options?: { localeMatcher?: "lookup" | "best fit"; }): string[];
473
+ }
474
+ }
node_modules/typescript/lib/lib.es2020.number.d.ts ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2020.intl" />
20
+
21
+ interface Number {
22
+ /**
23
+ * Converts a number to a string by using the current or specified locale.
24
+ * @param locales A locale string, array of locale strings, Intl.Locale object, or array of Intl.Locale objects that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used.
25
+ * @param options An object that contains one or more properties that specify comparison options.
26
+ */
27
+ toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.NumberFormatOptions): string;
28
+ }
node_modules/typescript/lib/lib.es2020.promise.d.ts ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface PromiseFulfilledResult<T> {
20
+ status: "fulfilled";
21
+ value: T;
22
+ }
23
+
24
+ interface PromiseRejectedResult {
25
+ status: "rejected";
26
+ reason: any;
27
+ }
28
+
29
+ type PromiseSettledResult<T> = PromiseFulfilledResult<T> | PromiseRejectedResult;
30
+
31
+ interface PromiseConstructor {
32
+ /**
33
+ * Creates a Promise that is resolved with an array of results when all
34
+ * of the provided Promises resolve or reject.
35
+ * @param values An array of Promises.
36
+ * @returns A new Promise.
37
+ */
38
+ allSettled<T extends readonly unknown[] | []>(values: T): Promise<{ -readonly [P in keyof T]: PromiseSettledResult<Awaited<T[P]>>; }>;
39
+
40
+ /**
41
+ * Creates a Promise that is resolved with an array of results when all
42
+ * of the provided Promises resolve or reject.
43
+ * @param values An array of Promises.
44
+ * @returns A new Promise.
45
+ */
46
+ allSettled<T>(values: Iterable<T | PromiseLike<T>>): Promise<PromiseSettledResult<Awaited<T>>[]>;
47
+ }
node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2020.bigint" />
20
+
21
+ interface Atomics {
22
+ /**
23
+ * Adds a value to the value at the given position in the array, returning the original value.
24
+ * Until this atomic operation completes, any other read or write operation against the array
25
+ * will block.
26
+ */
27
+ add(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
28
+
29
+ /**
30
+ * Stores the bitwise AND of a value with the value at the given position in the array,
31
+ * returning the original value. Until this atomic operation completes, any other read or
32
+ * write operation against the array will block.
33
+ */
34
+ and(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
35
+
36
+ /**
37
+ * Replaces the value at the given position in the array if the original value equals the given
38
+ * expected value, returning the original value. Until this atomic operation completes, any
39
+ * other read or write operation against the array will block.
40
+ */
41
+ compareExchange(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, expectedValue: bigint, replacementValue: bigint): bigint;
42
+
43
+ /**
44
+ * Replaces the value at the given position in the array, returning the original value. Until
45
+ * this atomic operation completes, any other read or write operation against the array will
46
+ * block.
47
+ */
48
+ exchange(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
49
+
50
+ /**
51
+ * Returns the value at the given position in the array. Until this atomic operation completes,
52
+ * any other read or write operation against the array will block.
53
+ */
54
+ load(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number): bigint;
55
+
56
+ /**
57
+ * Stores the bitwise OR of a value with the value at the given position in the array,
58
+ * returning the original value. Until this atomic operation completes, any other read or write
59
+ * operation against the array will block.
60
+ */
61
+ or(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
62
+
63
+ /**
64
+ * Stores a value at the given position in the array, returning the new value. Until this
65
+ * atomic operation completes, any other read or write operation against the array will block.
66
+ */
67
+ store(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
68
+
69
+ /**
70
+ * Subtracts a value from the value at the given position in the array, returning the original
71
+ * value. Until this atomic operation completes, any other read or write operation against the
72
+ * array will block.
73
+ */
74
+ sub(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
75
+
76
+ /**
77
+ * If the value at the given position in the array is equal to the provided value, the current
78
+ * agent is put to sleep causing execution to suspend until the timeout expires (returning
79
+ * `"timed-out"`) or until the agent is awoken (returning `"ok"`); otherwise, returns
80
+ * `"not-equal"`.
81
+ */
82
+ wait(typedArray: BigInt64Array<ArrayBufferLike>, index: number, value: bigint, timeout?: number): "ok" | "not-equal" | "timed-out";
83
+
84
+ /**
85
+ * Wakes up sleeping agents that are waiting on the given index of the array, returning the
86
+ * number of agents that were awoken.
87
+ * @param typedArray A shared BigInt64Array.
88
+ * @param index The position in the typedArray to wake up on.
89
+ * @param count The number of sleeping agents to notify. Defaults to +Infinity.
90
+ */
91
+ notify(typedArray: BigInt64Array<ArrayBufferLike>, index: number, count?: number): number;
92
+
93
+ /**
94
+ * Stores the bitwise XOR of a value with the value at the given position in the array,
95
+ * returning the original value. Until this atomic operation completes, any other read or write
96
+ * operation against the array will block.
97
+ */
98
+ xor(typedArray: BigInt64Array<ArrayBufferLike> | BigUint64Array<ArrayBufferLike>, index: number, value: bigint): bigint;
99
+ }
node_modules/typescript/lib/lib.es2020.string.d.ts ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2015.iterable" />
20
+ /// <reference lib="es2020.intl" />
21
+ /// <reference lib="es2020.symbol.wellknown" />
22
+
23
+ interface String {
24
+ /**
25
+ * Matches a string with a regular expression, and returns an iterable of matches
26
+ * containing the results of that search.
27
+ * @param regexp A variable name or string literal containing the regular expression pattern and flags.
28
+ */
29
+ matchAll(regexp: RegExp): RegExpStringIterator<RegExpExecArray>;
30
+
31
+ /** Converts all alphabetic characters to lowercase, taking into account the host environment's current locale. */
32
+ toLocaleLowerCase(locales?: Intl.LocalesArgument): string;
33
+
34
+ /** Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale. */
35
+ toLocaleUpperCase(locales?: Intl.LocalesArgument): string;
36
+
37
+ /**
38
+ * Determines whether two strings are equivalent in the current or specified locale.
39
+ * @param that String to compare to target string
40
+ * @param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.
41
+ * @param options An object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.
42
+ */
43
+ localeCompare(that: string, locales?: Intl.LocalesArgument, options?: Intl.CollatorOptions): number;
44
+ }
node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2015.iterable" />
20
+ /// <reference lib="es2015.symbol" />
21
+
22
+ interface SymbolConstructor {
23
+ /**
24
+ * A regular expression method that matches the regular expression against a string. Called
25
+ * by the String.prototype.matchAll method.
26
+ */
27
+ readonly matchAll: unique symbol;
28
+ }
29
+
30
+ interface RegExpStringIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
31
+ [Symbol.iterator](): RegExpStringIterator<T>;
32
+ }
33
+
34
+ interface RegExp {
35
+ /**
36
+ * Matches a string with this regular expression, and returns an iterable of matches
37
+ * containing the results of that search.
38
+ * @param string A string to search within.
39
+ */
40
+ [Symbol.matchAll](str: string): RegExpStringIterator<RegExpMatchArray>;
41
+ }
node_modules/typescript/lib/lib.es2021.d.ts ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2020" />
20
+ /// <reference lib="es2021.promise" />
21
+ /// <reference lib="es2021.string" />
22
+ /// <reference lib="es2021.weakref" />
23
+ /// <reference lib="es2021.intl" />
node_modules/typescript/lib/lib.es2021.full.d.ts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2021" />
20
+ /// <reference lib="dom" />
21
+ /// <reference lib="webworker.importscripts" />
22
+ /// <reference lib="scripthost" />
23
+ /// <reference lib="dom.iterable" />
24
+ /// <reference lib="dom.asynciterable" />
node_modules/typescript/lib/lib.es2021.intl.d.ts ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ declare namespace Intl {
20
+ interface DateTimeFormatPartTypesRegistry {
21
+ fractionalSecond: any;
22
+ }
23
+
24
+ interface DateTimeFormatOptions {
25
+ formatMatcher?: "basic" | "best fit" | "best fit" | undefined;
26
+ dateStyle?: "full" | "long" | "medium" | "short" | undefined;
27
+ timeStyle?: "full" | "long" | "medium" | "short" | undefined;
28
+ dayPeriod?: "narrow" | "short" | "long" | undefined;
29
+ fractionalSecondDigits?: 1 | 2 | 3 | undefined;
30
+ }
31
+
32
+ interface DateTimeRangeFormatPart extends DateTimeFormatPart {
33
+ source: "startRange" | "endRange" | "shared";
34
+ }
35
+
36
+ interface DateTimeFormat {
37
+ formatRange(startDate: Date | number | bigint, endDate: Date | number | bigint): string;
38
+ formatRangeToParts(startDate: Date | number | bigint, endDate: Date | number | bigint): DateTimeRangeFormatPart[];
39
+ }
40
+
41
+ interface ResolvedDateTimeFormatOptions {
42
+ formatMatcher?: "basic" | "best fit" | "best fit";
43
+ dateStyle?: "full" | "long" | "medium" | "short";
44
+ timeStyle?: "full" | "long" | "medium" | "short";
45
+ hourCycle?: "h11" | "h12" | "h23" | "h24";
46
+ dayPeriod?: "narrow" | "short" | "long";
47
+ fractionalSecondDigits?: 1 | 2 | 3;
48
+ }
49
+
50
+ /**
51
+ * The locale matching algorithm to use.
52
+ *
53
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters).
54
+ */
55
+ type ListFormatLocaleMatcher = "lookup" | "best fit";
56
+
57
+ /**
58
+ * The format of output message.
59
+ *
60
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters).
61
+ */
62
+ type ListFormatType = "conjunction" | "disjunction" | "unit";
63
+
64
+ /**
65
+ * The length of the formatted message.
66
+ *
67
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters).
68
+ */
69
+ type ListFormatStyle = "long" | "short" | "narrow";
70
+
71
+ /**
72
+ * An object with some or all properties of the `Intl.ListFormat` constructor `options` parameter.
73
+ *
74
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters).
75
+ */
76
+ interface ListFormatOptions {
77
+ /** The locale matching algorithm to use. For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation). */
78
+ localeMatcher?: ListFormatLocaleMatcher | undefined;
79
+ /** The format of output message. */
80
+ type?: ListFormatType | undefined;
81
+ /** The length of the internationalized message. */
82
+ style?: ListFormatStyle | undefined;
83
+ }
84
+
85
+ interface ResolvedListFormatOptions {
86
+ locale: string;
87
+ style: ListFormatStyle;
88
+ type: ListFormatType;
89
+ }
90
+
91
+ interface ListFormat {
92
+ /**
93
+ * Returns a string with a language-specific representation of the list.
94
+ *
95
+ * @param list - An iterable object, such as an [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array).
96
+ *
97
+ * @throws `TypeError` if `list` includes something other than the possible values.
98
+ *
99
+ * @returns {string} A language-specific formatted string representing the elements of the list.
100
+ *
101
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/format).
102
+ */
103
+ format(list: Iterable<string>): string;
104
+
105
+ /**
106
+ * Returns an Array of objects representing the different components that can be used to format a list of values in a locale-aware fashion.
107
+ *
108
+ * @param list - An iterable object, such as an [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array), to be formatted according to a locale.
109
+ *
110
+ * @throws `TypeError` if `list` includes something other than the possible values.
111
+ *
112
+ * @returns {{ type: "element" | "literal", value: string; }[]} An Array of components which contains the formatted parts from the list.
113
+ *
114
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/formatToParts).
115
+ */
116
+ formatToParts(list: Iterable<string>): { type: "element" | "literal"; value: string; }[];
117
+
118
+ /**
119
+ * Returns a new object with properties reflecting the locale and style
120
+ * formatting options computed during the construction of the current
121
+ * `Intl.ListFormat` object.
122
+ *
123
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/resolvedOptions).
124
+ */
125
+ resolvedOptions(): ResolvedListFormatOptions;
126
+ }
127
+
128
+ const ListFormat: {
129
+ prototype: ListFormat;
130
+
131
+ /**
132
+ * Creates [Intl.ListFormat](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat) objects that
133
+ * enable language-sensitive list formatting.
134
+ *
135
+ * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.
136
+ * For the general form and interpretation of the `locales` argument,
137
+ * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
138
+ *
139
+ * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/ListFormat#parameters)
140
+ * with some or all options of `ListFormatOptions`.
141
+ *
142
+ * @returns [Intl.ListFormatOptions](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat) object.
143
+ *
144
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat).
145
+ */
146
+ new (locales?: LocalesArgument, options?: ListFormatOptions): ListFormat;
147
+
148
+ /**
149
+ * Returns an array containing those of the provided locales that are
150
+ * supported in list formatting without having to fall back to the runtime's default locale.
151
+ *
152
+ * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.
153
+ * For the general form and interpretation of the `locales` argument,
154
+ * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
155
+ *
156
+ * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/supportedLocalesOf#parameters).
157
+ * with some or all possible options.
158
+ *
159
+ * @returns An array of strings representing a subset of the given locale tags that are supported in list
160
+ * formatting without having to fall back to the runtime's default locale.
161
+ *
162
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/supportedLocalesOf).
163
+ */
164
+ supportedLocalesOf(locales: LocalesArgument, options?: Pick<ListFormatOptions, "localeMatcher">): UnicodeBCP47LocaleIdentifier[];
165
+ };
166
+ }
node_modules/typescript/lib/lib.es2021.promise.d.ts ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface AggregateError extends Error {
20
+ errors: any[];
21
+ }
22
+
23
+ interface AggregateErrorConstructor {
24
+ new (errors: Iterable<any>, message?: string): AggregateError;
25
+ (errors: Iterable<any>, message?: string): AggregateError;
26
+ readonly prototype: AggregateError;
27
+ }
28
+
29
+ declare var AggregateError: AggregateErrorConstructor;
30
+
31
+ /**
32
+ * Represents the completion of an asynchronous operation
33
+ */
34
+ interface PromiseConstructor {
35
+ /**
36
+ * The any function returns a promise that is fulfilled by the first given promise to be fulfilled, or rejected with an AggregateError containing an array of rejection reasons if all of the given promises are rejected. It resolves all elements of the passed iterable to promises as it runs this algorithm.
37
+ * @param values An array or iterable of Promises.
38
+ * @returns A new Promise.
39
+ */
40
+ any<T extends readonly unknown[] | []>(values: T): Promise<Awaited<T[number]>>;
41
+
42
+ /**
43
+ * The any function returns a promise that is fulfilled by the first given promise to be fulfilled, or rejected with an AggregateError containing an array of rejection reasons if all of the given promises are rejected. It resolves all elements of the passed iterable to promises as it runs this algorithm.
44
+ * @param values An array or iterable of Promises.
45
+ * @returns A new Promise.
46
+ */
47
+ any<T>(values: Iterable<T | PromiseLike<T>>): Promise<Awaited<T>>;
48
+ }
node_modules/typescript/lib/lib.es2021.string.d.ts ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface String {
20
+ /**
21
+ * Replace all instances of a substring in a string, using a regular expression or search string.
22
+ * @param searchValue A string to search for.
23
+ * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.
24
+ */
25
+ replaceAll(searchValue: string | RegExp, replaceValue: string): string;
26
+
27
+ /**
28
+ * Replace all instances of a substring in a string, using a regular expression or search string.
29
+ * @param searchValue A string to search for.
30
+ * @param replacer A function that returns the replacement text.
31
+ */
32
+ replaceAll(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
33
+ }
node_modules/typescript/lib/lib.es2021.weakref.d.ts ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2015.symbol.wellknown" />
20
+
21
+ interface WeakRef<T extends WeakKey> {
22
+ readonly [Symbol.toStringTag]: "WeakRef";
23
+
24
+ /**
25
+ * Returns the WeakRef instance's target value, or undefined if the target value has been
26
+ * reclaimed.
27
+ * In es2023 the value can be either a symbol or an object, in previous versions only object is permissible.
28
+ */
29
+ deref(): T | undefined;
30
+ }
31
+
32
+ interface WeakRefConstructor {
33
+ readonly prototype: WeakRef<any>;
34
+
35
+ /**
36
+ * Creates a WeakRef instance for the given target value.
37
+ * In es2023 the value can be either a symbol or an object, in previous versions only object is permissible.
38
+ * @param target The target value for the WeakRef instance.
39
+ */
40
+ new <T extends WeakKey>(target: T): WeakRef<T>;
41
+ }
42
+
43
+ declare var WeakRef: WeakRefConstructor;
44
+
45
+ interface FinalizationRegistry<T> {
46
+ readonly [Symbol.toStringTag]: "FinalizationRegistry";
47
+
48
+ /**
49
+ * Registers a value with the registry.
50
+ * In es2023 the value can be either a symbol or an object, in previous versions only object is permissible.
51
+ * @param target The target value to register.
52
+ * @param heldValue The value to pass to the finalizer for this value. This cannot be the
53
+ * target value.
54
+ * @param unregisterToken The token to pass to the unregister method to unregister the target
55
+ * value. If not provided, the target cannot be unregistered.
56
+ */
57
+ register(target: WeakKey, heldValue: T, unregisterToken?: WeakKey): void;
58
+
59
+ /**
60
+ * Unregisters a value from the registry.
61
+ * In es2023 the value can be either a symbol or an object, in previous versions only object is permissible.
62
+ * @param unregisterToken The token that was used as the unregisterToken argument when calling
63
+ * register to register the target value.
64
+ */
65
+ unregister(unregisterToken: WeakKey): boolean;
66
+ }
67
+
68
+ interface FinalizationRegistryConstructor {
69
+ readonly prototype: FinalizationRegistry<any>;
70
+
71
+ /**
72
+ * Creates a finalization registry with an associated cleanup callback
73
+ * @param cleanupCallback The callback to call after a value in the registry has been reclaimed.
74
+ */
75
+ new <T>(cleanupCallback: (heldValue: T) => void): FinalizationRegistry<T>;
76
+ }
77
+
78
+ declare var FinalizationRegistry: FinalizationRegistryConstructor;
node_modules/typescript/lib/lib.es2022.array.d.ts ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface Array<T> {
20
+ /**
21
+ * Returns the item located at the specified index.
22
+ * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
23
+ */
24
+ at(index: number): T | undefined;
25
+ }
26
+
27
+ interface ReadonlyArray<T> {
28
+ /**
29
+ * Returns the item located at the specified index.
30
+ * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
31
+ */
32
+ at(index: number): T | undefined;
33
+ }
34
+
35
+ interface Int8Array<TArrayBuffer extends ArrayBufferLike> {
36
+ /**
37
+ * Returns the item located at the specified index.
38
+ * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
39
+ */
40
+ at(index: number): number | undefined;
41
+ }
42
+
43
+ interface Uint8Array<TArrayBuffer extends ArrayBufferLike> {
44
+ /**
45
+ * Returns the item located at the specified index.
46
+ * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
47
+ */
48
+ at(index: number): number | undefined;
49
+ }
50
+
51
+ interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> {
52
+ /**
53
+ * Returns the item located at the specified index.
54
+ * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
55
+ */
56
+ at(index: number): number | undefined;
57
+ }
58
+
59
+ interface Int16Array<TArrayBuffer extends ArrayBufferLike> {
60
+ /**
61
+ * Returns the item located at the specified index.
62
+ * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
63
+ */
64
+ at(index: number): number | undefined;
65
+ }
66
+
67
+ interface Uint16Array<TArrayBuffer extends ArrayBufferLike> {
68
+ /**
69
+ * Returns the item located at the specified index.
70
+ * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
71
+ */
72
+ at(index: number): number | undefined;
73
+ }
74
+
75
+ interface Int32Array<TArrayBuffer extends ArrayBufferLike> {
76
+ /**
77
+ * Returns the item located at the specified index.
78
+ * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
79
+ */
80
+ at(index: number): number | undefined;
81
+ }
82
+
83
+ interface Uint32Array<TArrayBuffer extends ArrayBufferLike> {
84
+ /**
85
+ * Returns the item located at the specified index.
86
+ * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
87
+ */
88
+ at(index: number): number | undefined;
89
+ }
90
+
91
+ interface Float32Array<TArrayBuffer extends ArrayBufferLike> {
92
+ /**
93
+ * Returns the item located at the specified index.
94
+ * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
95
+ */
96
+ at(index: number): number | undefined;
97
+ }
98
+
99
+ interface Float64Array<TArrayBuffer extends ArrayBufferLike> {
100
+ /**
101
+ * Returns the item located at the specified index.
102
+ * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
103
+ */
104
+ at(index: number): number | undefined;
105
+ }
106
+
107
+ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike> {
108
+ /**
109
+ * Returns the item located at the specified index.
110
+ * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
111
+ */
112
+ at(index: number): bigint | undefined;
113
+ }
114
+
115
+ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike> {
116
+ /**
117
+ * Returns the item located at the specified index.
118
+ * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
119
+ */
120
+ at(index: number): bigint | undefined;
121
+ }
node_modules/typescript/lib/lib.es2022.d.ts ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2021" />
20
+ /// <reference lib="es2022.array" />
21
+ /// <reference lib="es2022.error" />
22
+ /// <reference lib="es2022.intl" />
23
+ /// <reference lib="es2022.object" />
24
+ /// <reference lib="es2022.regexp" />
25
+ /// <reference lib="es2022.string" />
node_modules/typescript/lib/lib.es2022.error.d.ts ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2021.promise" />
20
+
21
+ interface ErrorOptions {
22
+ cause?: unknown;
23
+ }
24
+
25
+ interface Error {
26
+ cause?: unknown;
27
+ }
28
+
29
+ interface ErrorConstructor {
30
+ new (message?: string, options?: ErrorOptions): Error;
31
+ (message?: string, options?: ErrorOptions): Error;
32
+ }
33
+
34
+ interface EvalErrorConstructor {
35
+ new (message?: string, options?: ErrorOptions): EvalError;
36
+ (message?: string, options?: ErrorOptions): EvalError;
37
+ }
38
+
39
+ interface RangeErrorConstructor {
40
+ new (message?: string, options?: ErrorOptions): RangeError;
41
+ (message?: string, options?: ErrorOptions): RangeError;
42
+ }
43
+
44
+ interface ReferenceErrorConstructor {
45
+ new (message?: string, options?: ErrorOptions): ReferenceError;
46
+ (message?: string, options?: ErrorOptions): ReferenceError;
47
+ }
48
+
49
+ interface SyntaxErrorConstructor {
50
+ new (message?: string, options?: ErrorOptions): SyntaxError;
51
+ (message?: string, options?: ErrorOptions): SyntaxError;
52
+ }
53
+
54
+ interface TypeErrorConstructor {
55
+ new (message?: string, options?: ErrorOptions): TypeError;
56
+ (message?: string, options?: ErrorOptions): TypeError;
57
+ }
58
+
59
+ interface URIErrorConstructor {
60
+ new (message?: string, options?: ErrorOptions): URIError;
61
+ (message?: string, options?: ErrorOptions): URIError;
62
+ }
63
+
64
+ interface AggregateErrorConstructor {
65
+ new (
66
+ errors: Iterable<any>,
67
+ message?: string,
68
+ options?: ErrorOptions,
69
+ ): AggregateError;
70
+ (
71
+ errors: Iterable<any>,
72
+ message?: string,
73
+ options?: ErrorOptions,
74
+ ): AggregateError;
75
+ }
node_modules/typescript/lib/lib.es2022.full.d.ts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2022" />
20
+ /// <reference lib="dom" />
21
+ /// <reference lib="webworker.importscripts" />
22
+ /// <reference lib="scripthost" />
23
+ /// <reference lib="dom.iterable" />
24
+ /// <reference lib="dom.asynciterable" />
node_modules/typescript/lib/lib.es2022.intl.d.ts ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ declare namespace Intl {
20
+ /**
21
+ * An object with some or all properties of the `Intl.Segmenter` constructor `options` parameter.
22
+ *
23
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters)
24
+ */
25
+ interface SegmenterOptions {
26
+ /** The locale matching algorithm to use. For information about this option, see [Intl page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_negotiation). */
27
+ localeMatcher?: "best fit" | "lookup" | undefined;
28
+ /** The type of input to be split */
29
+ granularity?: "grapheme" | "word" | "sentence" | undefined;
30
+ }
31
+
32
+ interface Segmenter {
33
+ /**
34
+ * Returns `Segments` object containing the segments of the input string, using the segmenter's locale and granularity.
35
+ *
36
+ * @param input - The text to be segmented as a `string`.
37
+ *
38
+ * @returns A new iterable Segments object containing the segments of the input string, using the segmenter's locale and granularity.
39
+ */
40
+ segment(input: string): Segments;
41
+ resolvedOptions(): ResolvedSegmenterOptions;
42
+ }
43
+
44
+ interface ResolvedSegmenterOptions {
45
+ locale: string;
46
+ granularity: "grapheme" | "word" | "sentence";
47
+ }
48
+
49
+ interface SegmentIterator<T> extends IteratorObject<T, BuiltinIteratorReturn, unknown> {
50
+ [Symbol.iterator](): SegmentIterator<T>;
51
+ }
52
+
53
+ interface Segments {
54
+ /**
55
+ * Returns an object describing the segment in the original string that includes the code unit at a specified index.
56
+ *
57
+ * @param codeUnitIndex - A number specifying the index of the code unit in the original input string. If the value is omitted, it defaults to `0`.
58
+ */
59
+ containing(codeUnitIndex?: number): SegmentData;
60
+
61
+ /** Returns an iterator to iterate over the segments. */
62
+ [Symbol.iterator](): SegmentIterator<SegmentData>;
63
+ }
64
+
65
+ interface SegmentData {
66
+ /** A string containing the segment extracted from the original input string. */
67
+ segment: string;
68
+ /** The code unit index in the original input string at which the segment begins. */
69
+ index: number;
70
+ /** The complete input string that was segmented. */
71
+ input: string;
72
+ /**
73
+ * A boolean value only if granularity is "word"; otherwise, undefined.
74
+ * If granularity is "word", then isWordLike is true when the segment is word-like (i.e., consists of letters/numbers/ideographs/etc.); otherwise, false.
75
+ */
76
+ isWordLike?: boolean;
77
+ }
78
+
79
+ const Segmenter: {
80
+ prototype: Segmenter;
81
+
82
+ /**
83
+ * Creates a new `Intl.Segmenter` object.
84
+ *
85
+ * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.
86
+ * For the general form and interpretation of the `locales` argument,
87
+ * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
88
+ *
89
+ * @param options - An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/Segmenter#parameters)
90
+ * with some or all options of `SegmenterOptions`.
91
+ *
92
+ * @returns [Intl.Segmenter](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segments) object.
93
+ *
94
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter).
95
+ */
96
+ new (locales?: LocalesArgument, options?: SegmenterOptions): Segmenter;
97
+
98
+ /**
99
+ * Returns an array containing those of the provided locales that are supported without having to fall back to the runtime's default locale.
100
+ *
101
+ * @param locales - A string with a [BCP 47 language tag](http://tools.ietf.org/html/rfc5646), or an array of such strings.
102
+ * For the general form and interpretation of the `locales` argument,
103
+ * see the [`Intl` page](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation).
104
+ *
105
+ * @param options An [object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf#parameters).
106
+ * with some or all possible options.
107
+ *
108
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/Segmenter/supportedLocalesOf)
109
+ */
110
+ supportedLocalesOf(locales: LocalesArgument, options?: Pick<SegmenterOptions, "localeMatcher">): UnicodeBCP47LocaleIdentifier[];
111
+ };
112
+
113
+ /**
114
+ * Returns a sorted array of the supported collation, calendar, currency, numbering system, timezones, and units by the implementation.
115
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Intl/supportedValuesOf)
116
+ *
117
+ * @param key A string indicating the category of values to return.
118
+ * @returns A sorted array of the supported values.
119
+ */
120
+ function supportedValuesOf(key: "calendar" | "collation" | "currency" | "numberingSystem" | "timeZone" | "unit"): string[];
121
+ }
node_modules/typescript/lib/lib.es2022.object.d.ts ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface ObjectConstructor {
20
+ /**
21
+ * Determines whether an object has a property with the specified name.
22
+ * @param o An object.
23
+ * @param v A property name.
24
+ */
25
+ hasOwn(o: object, v: PropertyKey): boolean;
26
+ }
node_modules/typescript/lib/lib.es2022.regexp.d.ts ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface RegExpMatchArray {
20
+ indices?: RegExpIndicesArray;
21
+ }
22
+
23
+ interface RegExpExecArray {
24
+ indices?: RegExpIndicesArray;
25
+ }
26
+
27
+ interface RegExpIndicesArray extends Array<[number, number]> {
28
+ groups?: {
29
+ [key: string]: [number, number];
30
+ };
31
+ }
32
+
33
+ interface RegExp {
34
+ /**
35
+ * Returns a Boolean value indicating the state of the hasIndices flag (d) used with a regular expression.
36
+ * Default is false. Read-only.
37
+ */
38
+ readonly hasIndices: boolean;
39
+ }
node_modules/typescript/lib/lib.es2022.string.d.ts ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface String {
20
+ /**
21
+ * Returns a new String consisting of the single UTF-16 code unit located at the specified index.
22
+ * @param index The zero-based index of the desired code unit. A negative index will count back from the last item.
23
+ */
24
+ at(index: number): string | undefined;
25
+ }
node_modules/typescript/lib/lib.es2023.array.d.ts ADDED
@@ -0,0 +1,924 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface Array<T> {
20
+ /**
21
+ * Returns the value of the last element in the array where predicate is true, and undefined
22
+ * otherwise.
23
+ * @param predicate findLast calls predicate once for each element of the array, in descending
24
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
25
+ * immediately returns that element value. Otherwise, findLast returns undefined.
26
+ * @param thisArg If provided, it will be used as the this value for each invocation of
27
+ * predicate. If it is not provided, undefined is used instead.
28
+ */
29
+ findLast<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any): S | undefined;
30
+ findLast(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): T | undefined;
31
+
32
+ /**
33
+ * Returns the index of the last element in the array where predicate is true, and -1
34
+ * otherwise.
35
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
36
+ * order, until it finds one where predicate returns true. If such an element is found,
37
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
38
+ * @param thisArg If provided, it will be used as the this value for each invocation of
39
+ * predicate. If it is not provided, undefined is used instead.
40
+ */
41
+ findLastIndex(predicate: (value: T, index: number, array: T[]) => unknown, thisArg?: any): number;
42
+
43
+ /**
44
+ * Returns a copy of an array with its elements reversed.
45
+ */
46
+ toReversed(): T[];
47
+
48
+ /**
49
+ * Returns a copy of an array with its elements sorted.
50
+ * @param compareFn Function used to determine the order of the elements. It is expected to return
51
+ * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
52
+ * value otherwise. If omitted, the elements are sorted in ascending, UTF-16 code unit order.
53
+ * ```ts
54
+ * [11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]
55
+ * ```
56
+ */
57
+ toSorted(compareFn?: (a: T, b: T) => number): T[];
58
+
59
+ /**
60
+ * Copies an array and removes elements and, if necessary, inserts new elements in their place. Returns the copied array.
61
+ * @param start The zero-based location in the array from which to start removing elements.
62
+ * @param deleteCount The number of elements to remove.
63
+ * @param items Elements to insert into the copied array in place of the deleted elements.
64
+ * @returns The copied array.
65
+ */
66
+ toSpliced(start: number, deleteCount: number, ...items: T[]): T[];
67
+
68
+ /**
69
+ * Copies an array and removes elements while returning the remaining elements.
70
+ * @param start The zero-based location in the array from which to start removing elements.
71
+ * @param deleteCount The number of elements to remove.
72
+ * @returns A copy of the original array with the remaining elements.
73
+ */
74
+ toSpliced(start: number, deleteCount?: number): T[];
75
+
76
+ /**
77
+ * Copies an array, then overwrites the value at the provided index with the
78
+ * given value. If the index is negative, then it replaces from the end
79
+ * of the array.
80
+ * @param index The index of the value to overwrite. If the index is
81
+ * negative, then it replaces from the end of the array.
82
+ * @param value The value to write into the copied array.
83
+ * @returns The copied array with the updated value.
84
+ */
85
+ with(index: number, value: T): T[];
86
+ }
87
+
88
+ interface ReadonlyArray<T> {
89
+ /**
90
+ * Returns the value of the last element in the array where predicate is true, and undefined
91
+ * otherwise.
92
+ * @param predicate findLast calls predicate once for each element of the array, in descending
93
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
94
+ * immediately returns that element value. Otherwise, findLast returns undefined.
95
+ * @param thisArg If provided, it will be used as the this value for each invocation of
96
+ * predicate. If it is not provided, undefined is used instead.
97
+ */
98
+ findLast<S extends T>(
99
+ predicate: (value: T, index: number, array: readonly T[]) => value is S,
100
+ thisArg?: any,
101
+ ): S | undefined;
102
+ findLast(
103
+ predicate: (value: T, index: number, array: readonly T[]) => unknown,
104
+ thisArg?: any,
105
+ ): T | undefined;
106
+
107
+ /**
108
+ * Returns the index of the last element in the array where predicate is true, and -1
109
+ * otherwise.
110
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
111
+ * order, until it finds one where predicate returns true. If such an element is found,
112
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
113
+ * @param thisArg If provided, it will be used as the this value for each invocation of
114
+ * predicate. If it is not provided, undefined is used instead.
115
+ */
116
+ findLastIndex(
117
+ predicate: (value: T, index: number, array: readonly T[]) => unknown,
118
+ thisArg?: any,
119
+ ): number;
120
+
121
+ /**
122
+ * Copies the array and returns the copied array with all of its elements reversed.
123
+ */
124
+ toReversed(): T[];
125
+
126
+ /**
127
+ * Copies and sorts the array.
128
+ * @param compareFn Function used to determine the order of the elements. It is expected to return
129
+ * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
130
+ * value otherwise. If omitted, the elements are sorted in ascending, UTF-16 code unit order.
131
+ * ```ts
132
+ * [11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]
133
+ * ```
134
+ */
135
+ toSorted(compareFn?: (a: T, b: T) => number): T[];
136
+
137
+ /**
138
+ * Copies an array and removes elements while, if necessary, inserting new elements in their place, returning the remaining elements.
139
+ * @param start The zero-based location in the array from which to start removing elements.
140
+ * @param deleteCount The number of elements to remove.
141
+ * @param items Elements to insert into the copied array in place of the deleted elements.
142
+ * @returns A copy of the original array with the remaining elements.
143
+ */
144
+ toSpliced(start: number, deleteCount: number, ...items: T[]): T[];
145
+
146
+ /**
147
+ * Copies an array and removes elements while returning the remaining elements.
148
+ * @param start The zero-based location in the array from which to start removing elements.
149
+ * @param deleteCount The number of elements to remove.
150
+ * @returns A copy of the original array with the remaining elements.
151
+ */
152
+ toSpliced(start: number, deleteCount?: number): T[];
153
+
154
+ /**
155
+ * Copies an array, then overwrites the value at the provided index with the
156
+ * given value. If the index is negative, then it replaces from the end
157
+ * of the array
158
+ * @param index The index of the value to overwrite. If the index is
159
+ * negative, then it replaces from the end of the array.
160
+ * @param value The value to insert into the copied array.
161
+ * @returns A copy of the original array with the inserted value.
162
+ */
163
+ with(index: number, value: T): T[];
164
+ }
165
+
166
+ interface Int8Array<TArrayBuffer extends ArrayBufferLike> {
167
+ /**
168
+ * Returns the value of the last element in the array where predicate is true, and undefined
169
+ * otherwise.
170
+ * @param predicate findLast calls predicate once for each element of the array, in descending
171
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
172
+ * immediately returns that element value. Otherwise, findLast returns undefined.
173
+ * @param thisArg If provided, it will be used as the this value for each invocation of
174
+ * predicate. If it is not provided, undefined is used instead.
175
+ */
176
+ findLast<S extends number>(
177
+ predicate: (
178
+ value: number,
179
+ index: number,
180
+ array: this,
181
+ ) => value is S,
182
+ thisArg?: any,
183
+ ): S | undefined;
184
+ findLast(
185
+ predicate: (value: number, index: number, array: this) => unknown,
186
+ thisArg?: any,
187
+ ): number | undefined;
188
+
189
+ /**
190
+ * Returns the index of the last element in the array where predicate is true, and -1
191
+ * otherwise.
192
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
193
+ * order, until it finds one where predicate returns true. If such an element is found,
194
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
195
+ * @param thisArg If provided, it will be used as the this value for each invocation of
196
+ * predicate. If it is not provided, undefined is used instead.
197
+ */
198
+ findLastIndex(
199
+ predicate: (value: number, index: number, array: this) => unknown,
200
+ thisArg?: any,
201
+ ): number;
202
+
203
+ /**
204
+ * Copies the array and returns the copy with the elements in reverse order.
205
+ */
206
+ toReversed(): Int8Array<ArrayBuffer>;
207
+
208
+ /**
209
+ * Copies and sorts the array.
210
+ * @param compareFn Function used to determine the order of the elements. It is expected to return
211
+ * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
212
+ * value otherwise. If omitted, the elements are sorted in ascending order.
213
+ * ```ts
214
+ * const myNums = Int8Array.from([11, 2, 22, 1]);
215
+ * myNums.toSorted((a, b) => a - b) // Int8Array(4) [1, 2, 11, 22]
216
+ * ```
217
+ */
218
+ toSorted(compareFn?: (a: number, b: number) => number): Int8Array<ArrayBuffer>;
219
+
220
+ /**
221
+ * Copies the array and inserts the given number at the provided index.
222
+ * @param index The index of the value to overwrite. If the index is
223
+ * negative, then it replaces from the end of the array.
224
+ * @param value The value to insert into the copied array.
225
+ * @returns A copy of the original array with the inserted value.
226
+ */
227
+ with(index: number, value: number): Int8Array<ArrayBuffer>;
228
+ }
229
+
230
+ interface Uint8Array<TArrayBuffer extends ArrayBufferLike> {
231
+ /**
232
+ * Returns the value of the last element in the array where predicate is true, and undefined
233
+ * otherwise.
234
+ * @param predicate findLast calls predicate once for each element of the array, in descending
235
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
236
+ * immediately returns that element value. Otherwise, findLast returns undefined.
237
+ * @param thisArg If provided, it will be used as the this value for each invocation of
238
+ * predicate. If it is not provided, undefined is used instead.
239
+ */
240
+ findLast<S extends number>(
241
+ predicate: (
242
+ value: number,
243
+ index: number,
244
+ array: this,
245
+ ) => value is S,
246
+ thisArg?: any,
247
+ ): S | undefined;
248
+ findLast(
249
+ predicate: (value: number, index: number, array: this) => unknown,
250
+ thisArg?: any,
251
+ ): number | undefined;
252
+
253
+ /**
254
+ * Returns the index of the last element in the array where predicate is true, and -1
255
+ * otherwise.
256
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
257
+ * order, until it finds one where predicate returns true. If such an element is found,
258
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
259
+ * @param thisArg If provided, it will be used as the this value for each invocation of
260
+ * predicate. If it is not provided, undefined is used instead.
261
+ */
262
+ findLastIndex(
263
+ predicate: (value: number, index: number, array: this) => unknown,
264
+ thisArg?: any,
265
+ ): number;
266
+
267
+ /**
268
+ * Copies the array and returns the copy with the elements in reverse order.
269
+ */
270
+ toReversed(): Uint8Array<ArrayBuffer>;
271
+
272
+ /**
273
+ * Copies and sorts the array.
274
+ * @param compareFn Function used to determine the order of the elements. It is expected to return
275
+ * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
276
+ * value otherwise. If omitted, the elements are sorted in ascending order.
277
+ * ```ts
278
+ * const myNums = Uint8Array.from([11, 2, 22, 1]);
279
+ * myNums.toSorted((a, b) => a - b) // Uint8Array(4) [1, 2, 11, 22]
280
+ * ```
281
+ */
282
+ toSorted(compareFn?: (a: number, b: number) => number): Uint8Array<ArrayBuffer>;
283
+
284
+ /**
285
+ * Copies the array and inserts the given number at the provided index.
286
+ * @param index The index of the value to overwrite. If the index is
287
+ * negative, then it replaces from the end of the array.
288
+ * @param value The value to insert into the copied array.
289
+ * @returns A copy of the original array with the inserted value.
290
+ */
291
+ with(index: number, value: number): Uint8Array<ArrayBuffer>;
292
+ }
293
+
294
+ interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> {
295
+ /**
296
+ * Returns the value of the last element in the array where predicate is true, and undefined
297
+ * otherwise.
298
+ * @param predicate findLast calls predicate once for each element of the array, in descending
299
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
300
+ * immediately returns that element value. Otherwise, findLast returns undefined.
301
+ * @param thisArg If provided, it will be used as the this value for each invocation of
302
+ * predicate. If it is not provided, undefined is used instead.
303
+ */
304
+ findLast<S extends number>(
305
+ predicate: (
306
+ value: number,
307
+ index: number,
308
+ array: this,
309
+ ) => value is S,
310
+ thisArg?: any,
311
+ ): S | undefined;
312
+ findLast(
313
+ predicate: (
314
+ value: number,
315
+ index: number,
316
+ array: this,
317
+ ) => unknown,
318
+ thisArg?: any,
319
+ ): number | undefined;
320
+
321
+ /**
322
+ * Returns the index of the last element in the array where predicate is true, and -1
323
+ * otherwise.
324
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
325
+ * order, until it finds one where predicate returns true. If such an element is found,
326
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
327
+ * @param thisArg If provided, it will be used as the this value for each invocation of
328
+ * predicate. If it is not provided, undefined is used instead.
329
+ */
330
+ findLastIndex(
331
+ predicate: (
332
+ value: number,
333
+ index: number,
334
+ array: this,
335
+ ) => unknown,
336
+ thisArg?: any,
337
+ ): number;
338
+
339
+ /**
340
+ * Copies the array and returns the copy with the elements in reverse order.
341
+ */
342
+ toReversed(): Uint8ClampedArray<ArrayBuffer>;
343
+
344
+ /**
345
+ * Copies and sorts the array.
346
+ * @param compareFn Function used to determine the order of the elements. It is expected to return
347
+ * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
348
+ * value otherwise. If omitted, the elements are sorted in ascending order.
349
+ * ```ts
350
+ * const myNums = Uint8ClampedArray.from([11, 2, 22, 1]);
351
+ * myNums.toSorted((a, b) => a - b) // Uint8ClampedArray(4) [1, 2, 11, 22]
352
+ * ```
353
+ */
354
+ toSorted(compareFn?: (a: number, b: number) => number): Uint8ClampedArray<ArrayBuffer>;
355
+
356
+ /**
357
+ * Copies the array and inserts the given number at the provided index.
358
+ * @param index The index of the value to overwrite. If the index is
359
+ * negative, then it replaces from the end of the array.
360
+ * @param value The value to insert into the copied array.
361
+ * @returns A copy of the original array with the inserted value.
362
+ */
363
+ with(index: number, value: number): Uint8ClampedArray<ArrayBuffer>;
364
+ }
365
+
366
+ interface Int16Array<TArrayBuffer extends ArrayBufferLike> {
367
+ /**
368
+ * Returns the value of the last element in the array where predicate is true, and undefined
369
+ * otherwise.
370
+ * @param predicate findLast calls predicate once for each element of the array, in descending
371
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
372
+ * immediately returns that element value. Otherwise, findLast returns undefined.
373
+ * @param thisArg If provided, it will be used as the this value for each invocation of
374
+ * predicate. If it is not provided, undefined is used instead.
375
+ */
376
+ findLast<S extends number>(
377
+ predicate: (
378
+ value: number,
379
+ index: number,
380
+ array: this,
381
+ ) => value is S,
382
+ thisArg?: any,
383
+ ): S | undefined;
384
+ findLast(
385
+ predicate: (value: number, index: number, array: this) => unknown,
386
+ thisArg?: any,
387
+ ): number | undefined;
388
+
389
+ /**
390
+ * Returns the index of the last element in the array where predicate is true, and -1
391
+ * otherwise.
392
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
393
+ * order, until it finds one where predicate returns true. If such an element is found,
394
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
395
+ * @param thisArg If provided, it will be used as the this value for each invocation of
396
+ * predicate. If it is not provided, undefined is used instead.
397
+ */
398
+ findLastIndex(
399
+ predicate: (value: number, index: number, array: this) => unknown,
400
+ thisArg?: any,
401
+ ): number;
402
+
403
+ /**
404
+ * Copies the array and returns the copy with the elements in reverse order.
405
+ */
406
+ toReversed(): Int16Array<ArrayBuffer>;
407
+
408
+ /**
409
+ * Copies and sorts the array.
410
+ * @param compareFn Function used to determine the order of the elements. It is expected to return
411
+ * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
412
+ * value otherwise. If omitted, the elements are sorted in ascending order.
413
+ * ```ts
414
+ * const myNums = Int16Array.from([11, 2, -22, 1]);
415
+ * myNums.toSorted((a, b) => a - b) // Int16Array(4) [-22, 1, 2, 11]
416
+ * ```
417
+ */
418
+ toSorted(compareFn?: (a: number, b: number) => number): Int16Array<ArrayBuffer>;
419
+
420
+ /**
421
+ * Copies the array and inserts the given number at the provided index.
422
+ * @param index The index of the value to overwrite. If the index is
423
+ * negative, then it replaces from the end of the array.
424
+ * @param value The value to insert into the copied array.
425
+ * @returns A copy of the original array with the inserted value.
426
+ */
427
+ with(index: number, value: number): Int16Array<ArrayBuffer>;
428
+ }
429
+
430
+ interface Uint16Array<TArrayBuffer extends ArrayBufferLike> {
431
+ /**
432
+ * Returns the value of the last element in the array where predicate is true, and undefined
433
+ * otherwise.
434
+ * @param predicate findLast calls predicate once for each element of the array, in descending
435
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
436
+ * immediately returns that element value. Otherwise, findLast returns undefined.
437
+ * @param thisArg If provided, it will be used as the this value for each invocation of
438
+ * predicate. If it is not provided, undefined is used instead.
439
+ */
440
+ findLast<S extends number>(
441
+ predicate: (
442
+ value: number,
443
+ index: number,
444
+ array: this,
445
+ ) => value is S,
446
+ thisArg?: any,
447
+ ): S | undefined;
448
+ findLast(
449
+ predicate: (
450
+ value: number,
451
+ index: number,
452
+ array: this,
453
+ ) => unknown,
454
+ thisArg?: any,
455
+ ): number | undefined;
456
+
457
+ /**
458
+ * Returns the index of the last element in the array where predicate is true, and -1
459
+ * otherwise.
460
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
461
+ * order, until it finds one where predicate returns true. If such an element is found,
462
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
463
+ * @param thisArg If provided, it will be used as the this value for each invocation of
464
+ * predicate. If it is not provided, undefined is used instead.
465
+ */
466
+ findLastIndex(
467
+ predicate: (
468
+ value: number,
469
+ index: number,
470
+ array: this,
471
+ ) => unknown,
472
+ thisArg?: any,
473
+ ): number;
474
+
475
+ /**
476
+ * Copies the array and returns the copy with the elements in reverse order.
477
+ */
478
+ toReversed(): Uint16Array<ArrayBuffer>;
479
+
480
+ /**
481
+ * Copies and sorts the array.
482
+ * @param compareFn Function used to determine the order of the elements. It is expected to return
483
+ * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
484
+ * value otherwise. If omitted, the elements are sorted in ascending order.
485
+ * ```ts
486
+ * const myNums = Uint16Array.from([11, 2, 22, 1]);
487
+ * myNums.toSorted((a, b) => a - b) // Uint16Array(4) [1, 2, 11, 22]
488
+ * ```
489
+ */
490
+ toSorted(compareFn?: (a: number, b: number) => number): Uint16Array<ArrayBuffer>;
491
+
492
+ /**
493
+ * Copies the array and inserts the given number at the provided index.
494
+ * @param index The index of the value to overwrite. If the index is
495
+ * negative, then it replaces from the end of the array.
496
+ * @param value The value to insert into the copied array.
497
+ * @returns A copy of the original array with the inserted value.
498
+ */
499
+ with(index: number, value: number): Uint16Array<ArrayBuffer>;
500
+ }
501
+
502
+ interface Int32Array<TArrayBuffer extends ArrayBufferLike> {
503
+ /**
504
+ * Returns the value of the last element in the array where predicate is true, and undefined
505
+ * otherwise.
506
+ * @param predicate findLast calls predicate once for each element of the array, in descending
507
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
508
+ * immediately returns that element value. Otherwise, findLast returns undefined.
509
+ * @param thisArg If provided, it will be used as the this value for each invocation of
510
+ * predicate. If it is not provided, undefined is used instead.
511
+ */
512
+ findLast<S extends number>(
513
+ predicate: (
514
+ value: number,
515
+ index: number,
516
+ array: this,
517
+ ) => value is S,
518
+ thisArg?: any,
519
+ ): S | undefined;
520
+ findLast(
521
+ predicate: (value: number, index: number, array: this) => unknown,
522
+ thisArg?: any,
523
+ ): number | undefined;
524
+
525
+ /**
526
+ * Returns the index of the last element in the array where predicate is true, and -1
527
+ * otherwise.
528
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
529
+ * order, until it finds one where predicate returns true. If such an element is found,
530
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
531
+ * @param thisArg If provided, it will be used as the this value for each invocation of
532
+ * predicate. If it is not provided, undefined is used instead.
533
+ */
534
+ findLastIndex(
535
+ predicate: (value: number, index: number, array: this) => unknown,
536
+ thisArg?: any,
537
+ ): number;
538
+
539
+ /**
540
+ * Copies the array and returns the copy with the elements in reverse order.
541
+ */
542
+ toReversed(): Int32Array<ArrayBuffer>;
543
+
544
+ /**
545
+ * Copies and sorts the array.
546
+ * @param compareFn Function used to determine the order of the elements. It is expected to return
547
+ * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
548
+ * value otherwise. If omitted, the elements are sorted in ascending order.
549
+ * ```ts
550
+ * const myNums = Int32Array.from([11, 2, -22, 1]);
551
+ * myNums.toSorted((a, b) => a - b) // Int32Array(4) [-22, 1, 2, 11]
552
+ * ```
553
+ */
554
+ toSorted(compareFn?: (a: number, b: number) => number): Int32Array<ArrayBuffer>;
555
+
556
+ /**
557
+ * Copies the array and inserts the given number at the provided index.
558
+ * @param index The index of the value to overwrite. If the index is
559
+ * negative, then it replaces from the end of the array.
560
+ * @param value The value to insert into the copied array.
561
+ * @returns A copy of the original array with the inserted value.
562
+ */
563
+ with(index: number, value: number): Int32Array<ArrayBuffer>;
564
+ }
565
+
566
+ interface Uint32Array<TArrayBuffer extends ArrayBufferLike> {
567
+ /**
568
+ * Returns the value of the last element in the array where predicate is true, and undefined
569
+ * otherwise.
570
+ * @param predicate findLast calls predicate once for each element of the array, in descending
571
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
572
+ * immediately returns that element value. Otherwise, findLast returns undefined.
573
+ * @param thisArg If provided, it will be used as the this value for each invocation of
574
+ * predicate. If it is not provided, undefined is used instead.
575
+ */
576
+ findLast<S extends number>(
577
+ predicate: (
578
+ value: number,
579
+ index: number,
580
+ array: this,
581
+ ) => value is S,
582
+ thisArg?: any,
583
+ ): S | undefined;
584
+ findLast(
585
+ predicate: (
586
+ value: number,
587
+ index: number,
588
+ array: this,
589
+ ) => unknown,
590
+ thisArg?: any,
591
+ ): number | undefined;
592
+
593
+ /**
594
+ * Returns the index of the last element in the array where predicate is true, and -1
595
+ * otherwise.
596
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
597
+ * order, until it finds one where predicate returns true. If such an element is found,
598
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
599
+ * @param thisArg If provided, it will be used as the this value for each invocation of
600
+ * predicate. If it is not provided, undefined is used instead.
601
+ */
602
+ findLastIndex(
603
+ predicate: (
604
+ value: number,
605
+ index: number,
606
+ array: this,
607
+ ) => unknown,
608
+ thisArg?: any,
609
+ ): number;
610
+
611
+ /**
612
+ * Copies the array and returns the copy with the elements in reverse order.
613
+ */
614
+ toReversed(): Uint32Array<ArrayBuffer>;
615
+
616
+ /**
617
+ * Copies and sorts the array.
618
+ * @param compareFn Function used to determine the order of the elements. It is expected to return
619
+ * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
620
+ * value otherwise. If omitted, the elements are sorted in ascending order.
621
+ * ```ts
622
+ * const myNums = Uint32Array.from([11, 2, 22, 1]);
623
+ * myNums.toSorted((a, b) => a - b) // Uint32Array(4) [1, 2, 11, 22]
624
+ * ```
625
+ */
626
+ toSorted(compareFn?: (a: number, b: number) => number): Uint32Array<ArrayBuffer>;
627
+
628
+ /**
629
+ * Copies the array and inserts the given number at the provided index.
630
+ * @param index The index of the value to overwrite. If the index is
631
+ * negative, then it replaces from the end of the array.
632
+ * @param value The value to insert into the copied array.
633
+ * @returns A copy of the original array with the inserted value.
634
+ */
635
+ with(index: number, value: number): Uint32Array<ArrayBuffer>;
636
+ }
637
+
638
+ interface Float32Array<TArrayBuffer extends ArrayBufferLike> {
639
+ /**
640
+ * Returns the value of the last element in the array where predicate is true, and undefined
641
+ * otherwise.
642
+ * @param predicate findLast calls predicate once for each element of the array, in descending
643
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
644
+ * immediately returns that element value. Otherwise, findLast returns undefined.
645
+ * @param thisArg If provided, it will be used as the this value for each invocation of
646
+ * predicate. If it is not provided, undefined is used instead.
647
+ */
648
+ findLast<S extends number>(
649
+ predicate: (
650
+ value: number,
651
+ index: number,
652
+ array: this,
653
+ ) => value is S,
654
+ thisArg?: any,
655
+ ): S | undefined;
656
+ findLast(
657
+ predicate: (
658
+ value: number,
659
+ index: number,
660
+ array: this,
661
+ ) => unknown,
662
+ thisArg?: any,
663
+ ): number | undefined;
664
+
665
+ /**
666
+ * Returns the index of the last element in the array where predicate is true, and -1
667
+ * otherwise.
668
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
669
+ * order, until it finds one where predicate returns true. If such an element is found,
670
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
671
+ * @param thisArg If provided, it will be used as the this value for each invocation of
672
+ * predicate. If it is not provided, undefined is used instead.
673
+ */
674
+ findLastIndex(
675
+ predicate: (
676
+ value: number,
677
+ index: number,
678
+ array: this,
679
+ ) => unknown,
680
+ thisArg?: any,
681
+ ): number;
682
+
683
+ /**
684
+ * Copies the array and returns the copy with the elements in reverse order.
685
+ */
686
+ toReversed(): Float32Array<ArrayBuffer>;
687
+
688
+ /**
689
+ * Copies and sorts the array.
690
+ * @param compareFn Function used to determine the order of the elements. It is expected to return
691
+ * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
692
+ * value otherwise. If omitted, the elements are sorted in ascending order.
693
+ * ```ts
694
+ * const myNums = Float32Array.from([11.25, 2, -22.5, 1]);
695
+ * myNums.toSorted((a, b) => a - b) // Float32Array(4) [-22.5, 1, 2, 11.5]
696
+ * ```
697
+ */
698
+ toSorted(compareFn?: (a: number, b: number) => number): Float32Array<ArrayBuffer>;
699
+
700
+ /**
701
+ * Copies the array and inserts the given number at the provided index.
702
+ * @param index The index of the value to overwrite. If the index is
703
+ * negative, then it replaces from the end of the array.
704
+ * @param value The value to insert into the copied array.
705
+ * @returns A copy of the original array with the inserted value.
706
+ */
707
+ with(index: number, value: number): Float32Array<ArrayBuffer>;
708
+ }
709
+
710
+ interface Float64Array<TArrayBuffer extends ArrayBufferLike> {
711
+ /**
712
+ * Returns the value of the last element in the array where predicate is true, and undefined
713
+ * otherwise.
714
+ * @param predicate findLast calls predicate once for each element of the array, in descending
715
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
716
+ * immediately returns that element value. Otherwise, findLast returns undefined.
717
+ * @param thisArg If provided, it will be used as the this value for each invocation of
718
+ * predicate. If it is not provided, undefined is used instead.
719
+ */
720
+ findLast<S extends number>(
721
+ predicate: (
722
+ value: number,
723
+ index: number,
724
+ array: this,
725
+ ) => value is S,
726
+ thisArg?: any,
727
+ ): S | undefined;
728
+ findLast(
729
+ predicate: (
730
+ value: number,
731
+ index: number,
732
+ array: this,
733
+ ) => unknown,
734
+ thisArg?: any,
735
+ ): number | undefined;
736
+
737
+ /**
738
+ * Returns the index of the last element in the array where predicate is true, and -1
739
+ * otherwise.
740
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
741
+ * order, until it finds one where predicate returns true. If such an element is found,
742
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
743
+ * @param thisArg If provided, it will be used as the this value for each invocation of
744
+ * predicate. If it is not provided, undefined is used instead.
745
+ */
746
+ findLastIndex(
747
+ predicate: (
748
+ value: number,
749
+ index: number,
750
+ array: this,
751
+ ) => unknown,
752
+ thisArg?: any,
753
+ ): number;
754
+
755
+ /**
756
+ * Copies the array and returns the copy with the elements in reverse order.
757
+ */
758
+ toReversed(): Float64Array<ArrayBuffer>;
759
+
760
+ /**
761
+ * Copies and sorts the array.
762
+ * @param compareFn Function used to determine the order of the elements. It is expected to return
763
+ * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
764
+ * value otherwise. If omitted, the elements are sorted in ascending order.
765
+ * ```ts
766
+ * const myNums = Float64Array.from([11.25, 2, -22.5, 1]);
767
+ * myNums.toSorted((a, b) => a - b) // Float64Array(4) [-22.5, 1, 2, 11.5]
768
+ * ```
769
+ */
770
+ toSorted(compareFn?: (a: number, b: number) => number): Float64Array<ArrayBuffer>;
771
+
772
+ /**
773
+ * Copies the array and inserts the given number at the provided index.
774
+ * @param index The index of the value to overwrite. If the index is
775
+ * negative, then it replaces from the end of the array.
776
+ * @param value The value to insert into the copied array.
777
+ * @returns A copy of the original array with the inserted value.
778
+ */
779
+ with(index: number, value: number): Float64Array<ArrayBuffer>;
780
+ }
781
+
782
+ interface BigInt64Array<TArrayBuffer extends ArrayBufferLike> {
783
+ /**
784
+ * Returns the value of the last element in the array where predicate is true, and undefined
785
+ * otherwise.
786
+ * @param predicate findLast calls predicate once for each element of the array, in descending
787
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
788
+ * immediately returns that element value. Otherwise, findLast returns undefined.
789
+ * @param thisArg If provided, it will be used as the this value for each invocation of
790
+ * predicate. If it is not provided, undefined is used instead.
791
+ */
792
+ findLast<S extends bigint>(
793
+ predicate: (
794
+ value: bigint,
795
+ index: number,
796
+ array: this,
797
+ ) => value is S,
798
+ thisArg?: any,
799
+ ): S | undefined;
800
+ findLast(
801
+ predicate: (
802
+ value: bigint,
803
+ index: number,
804
+ array: this,
805
+ ) => unknown,
806
+ thisArg?: any,
807
+ ): bigint | undefined;
808
+
809
+ /**
810
+ * Returns the index of the last element in the array where predicate is true, and -1
811
+ * otherwise.
812
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
813
+ * order, until it finds one where predicate returns true. If such an element is found,
814
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
815
+ * @param thisArg If provided, it will be used as the this value for each invocation of
816
+ * predicate. If it is not provided, undefined is used instead.
817
+ */
818
+ findLastIndex(
819
+ predicate: (
820
+ value: bigint,
821
+ index: number,
822
+ array: this,
823
+ ) => unknown,
824
+ thisArg?: any,
825
+ ): number;
826
+
827
+ /**
828
+ * Copies the array and returns the copy with the elements in reverse order.
829
+ */
830
+ toReversed(): BigInt64Array<ArrayBuffer>;
831
+
832
+ /**
833
+ * Copies and sorts the array.
834
+ * @param compareFn Function used to determine the order of the elements. It is expected to return
835
+ * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
836
+ * value otherwise. If omitted, the elements are sorted in ascending order.
837
+ * ```ts
838
+ * const myNums = BigInt64Array.from([11n, 2n, -22n, 1n]);
839
+ * myNums.toSorted((a, b) => Number(a - b)) // BigInt64Array(4) [-22n, 1n, 2n, 11n]
840
+ * ```
841
+ */
842
+ toSorted(compareFn?: (a: bigint, b: bigint) => number): BigInt64Array<ArrayBuffer>;
843
+
844
+ /**
845
+ * Copies the array and inserts the given bigint at the provided index.
846
+ * @param index The index of the value to overwrite. If the index is
847
+ * negative, then it replaces from the end of the array.
848
+ * @param value The value to insert into the copied array.
849
+ * @returns A copy of the original array with the inserted value.
850
+ */
851
+ with(index: number, value: bigint): BigInt64Array<ArrayBuffer>;
852
+ }
853
+
854
+ interface BigUint64Array<TArrayBuffer extends ArrayBufferLike> {
855
+ /**
856
+ * Returns the value of the last element in the array where predicate is true, and undefined
857
+ * otherwise.
858
+ * @param predicate findLast calls predicate once for each element of the array, in descending
859
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
860
+ * immediately returns that element value. Otherwise, findLast returns undefined.
861
+ * @param thisArg If provided, it will be used as the this value for each invocation of
862
+ * predicate. If it is not provided, undefined is used instead.
863
+ */
864
+ findLast<S extends bigint>(
865
+ predicate: (
866
+ value: bigint,
867
+ index: number,
868
+ array: this,
869
+ ) => value is S,
870
+ thisArg?: any,
871
+ ): S | undefined;
872
+ findLast(
873
+ predicate: (
874
+ value: bigint,
875
+ index: number,
876
+ array: this,
877
+ ) => unknown,
878
+ thisArg?: any,
879
+ ): bigint | undefined;
880
+
881
+ /**
882
+ * Returns the index of the last element in the array where predicate is true, and -1
883
+ * otherwise.
884
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
885
+ * order, until it finds one where predicate returns true. If such an element is found,
886
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
887
+ * @param thisArg If provided, it will be used as the this value for each invocation of
888
+ * predicate. If it is not provided, undefined is used instead.
889
+ */
890
+ findLastIndex(
891
+ predicate: (
892
+ value: bigint,
893
+ index: number,
894
+ array: this,
895
+ ) => unknown,
896
+ thisArg?: any,
897
+ ): number;
898
+
899
+ /**
900
+ * Copies the array and returns the copy with the elements in reverse order.
901
+ */
902
+ toReversed(): BigUint64Array<ArrayBuffer>;
903
+
904
+ /**
905
+ * Copies and sorts the array.
906
+ * @param compareFn Function used to determine the order of the elements. It is expected to return
907
+ * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
908
+ * value otherwise. If omitted, the elements are sorted in ascending order.
909
+ * ```ts
910
+ * const myNums = BigUint64Array.from([11n, 2n, 22n, 1n]);
911
+ * myNums.toSorted((a, b) => Number(a - b)) // BigUint64Array(4) [1n, 2n, 11n, 22n]
912
+ * ```
913
+ */
914
+ toSorted(compareFn?: (a: bigint, b: bigint) => number): BigUint64Array<ArrayBuffer>;
915
+
916
+ /**
917
+ * Copies the array and inserts the given bigint at the provided index.
918
+ * @param index The index of the value to overwrite. If the index is
919
+ * negative, then it replaces from the end of the array.
920
+ * @param value The value to insert into the copied array.
921
+ * @returns A copy of the original array with the inserted value.
922
+ */
923
+ with(index: number, value: bigint): BigUint64Array<ArrayBuffer>;
924
+ }
node_modules/typescript/lib/lib.es2023.collection.d.ts ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface WeakKeyTypes {
20
+ symbol: symbol;
21
+ }
node_modules/typescript/lib/lib.es2023.d.ts ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2022" />
20
+ /// <reference lib="es2023.array" />
21
+ /// <reference lib="es2023.collection" />
22
+ /// <reference lib="es2023.intl" />
node_modules/typescript/lib/lib.es2023.full.d.ts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2023" />
20
+ /// <reference lib="dom" />
21
+ /// <reference lib="webworker.importscripts" />
22
+ /// <reference lib="scripthost" />
23
+ /// <reference lib="dom.iterable" />
24
+ /// <reference lib="dom.asynciterable" />
node_modules/typescript/lib/lib.es2023.intl.d.ts ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ declare namespace Intl {
20
+ interface NumberFormatOptionsUseGroupingRegistry {
21
+ min2: never;
22
+ auto: never;
23
+ always: never;
24
+ }
25
+
26
+ interface NumberFormatOptionsSignDisplayRegistry {
27
+ negative: never;
28
+ }
29
+
30
+ interface NumberFormatOptions {
31
+ roundingPriority?: "auto" | "morePrecision" | "lessPrecision" | undefined;
32
+ roundingIncrement?: 1 | 2 | 5 | 10 | 20 | 25 | 50 | 100 | 200 | 250 | 500 | 1000 | 2000 | 2500 | 5000 | undefined;
33
+ roundingMode?: "ceil" | "floor" | "expand" | "trunc" | "halfCeil" | "halfFloor" | "halfExpand" | "halfTrunc" | "halfEven" | undefined;
34
+ trailingZeroDisplay?: "auto" | "stripIfInteger" | undefined;
35
+ }
36
+
37
+ interface ResolvedNumberFormatOptions {
38
+ roundingPriority: "auto" | "morePrecision" | "lessPrecision";
39
+ roundingMode: "ceil" | "floor" | "expand" | "trunc" | "halfCeil" | "halfFloor" | "halfExpand" | "halfTrunc" | "halfEven";
40
+ roundingIncrement: 1 | 2 | 5 | 10 | 20 | 25 | 50 | 100 | 200 | 250 | 500 | 1000 | 2000 | 2500 | 5000;
41
+ trailingZeroDisplay: "auto" | "stripIfInteger";
42
+ }
43
+
44
+ interface NumberRangeFormatPart extends NumberFormatPart {
45
+ source: "startRange" | "endRange" | "shared";
46
+ }
47
+
48
+ type StringNumericLiteral = `${number}` | "Infinity" | "-Infinity" | "+Infinity";
49
+
50
+ interface NumberFormat {
51
+ format(value: number | bigint | StringNumericLiteral): string;
52
+ formatToParts(value: number | bigint | StringNumericLiteral): NumberFormatPart[];
53
+ formatRange(start: number | bigint | StringNumericLiteral, end: number | bigint | StringNumericLiteral): string;
54
+ formatRangeToParts(start: number | bigint | StringNumericLiteral, end: number | bigint | StringNumericLiteral): NumberRangeFormatPart[];
55
+ }
56
+ }
node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface ArrayBuffer {
20
+ /**
21
+ * If this ArrayBuffer is resizable, returns the maximum byte length given during construction; returns the byte length if not.
22
+ *
23
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/maxByteLength)
24
+ */
25
+ get maxByteLength(): number;
26
+
27
+ /**
28
+ * Returns true if this ArrayBuffer can be resized.
29
+ *
30
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/resizable)
31
+ */
32
+ get resizable(): boolean;
33
+
34
+ /**
35
+ * Resizes the ArrayBuffer to the specified size (in bytes).
36
+ *
37
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/resize)
38
+ */
39
+ resize(newByteLength?: number): void;
40
+
41
+ /**
42
+ * Returns a boolean indicating whether or not this buffer has been detached (transferred).
43
+ *
44
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/detached)
45
+ */
46
+ get detached(): boolean;
47
+
48
+ /**
49
+ * Creates a new ArrayBuffer with the same byte content as this buffer, then detaches this buffer.
50
+ *
51
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/transfer)
52
+ */
53
+ transfer(newByteLength?: number): ArrayBuffer;
54
+
55
+ /**
56
+ * Creates a new non-resizable ArrayBuffer with the same byte content as this buffer, then detaches this buffer.
57
+ *
58
+ * [MDN](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer/transferToFixedLength)
59
+ */
60
+ transferToFixedLength(newByteLength?: number): ArrayBuffer;
61
+ }
62
+
63
+ interface ArrayBufferConstructor {
64
+ new (byteLength: number, options?: { maxByteLength?: number; }): ArrayBuffer;
65
+ }
node_modules/typescript/lib/lib.es2024.collection.d.ts ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface MapConstructor {
20
+ /**
21
+ * Groups members of an iterable according to the return value of the passed callback.
22
+ * @param items An iterable.
23
+ * @param keySelector A callback which will be invoked for each item in items.
24
+ */
25
+ groupBy<K, T>(
26
+ items: Iterable<T>,
27
+ keySelector: (item: T, index: number) => K,
28
+ ): Map<K, T[]>;
29
+ }
node_modules/typescript/lib/lib.es2024.d.ts ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2023" />
20
+ /// <reference lib="es2024.arraybuffer" />
21
+ /// <reference lib="es2024.collection" />
22
+ /// <reference lib="es2024.object" />
23
+ /// <reference lib="es2024.promise" />
24
+ /// <reference lib="es2024.regexp" />
25
+ /// <reference lib="es2024.sharedmemory" />
26
+ /// <reference lib="es2024.string" />
node_modules/typescript/lib/lib.es2024.full.d.ts ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ /// <reference lib="es2024" />
20
+ /// <reference lib="dom" />
21
+ /// <reference lib="webworker.importscripts" />
22
+ /// <reference lib="scripthost" />
23
+ /// <reference lib="dom.iterable" />
24
+ /// <reference lib="dom.asynciterable" />