@codingame/monaco-vscode-typescript-language-features-default-extension 1.81.8-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/extension.js +36798 -0
  2. package/extension.js.map +1 -0
  3. package/index.js +93 -0
  4. package/jsconfig.schema.json +10 -0
  5. package/lib.d.ts.txt +22 -0
  6. package/lib.decorators.d.ts.txt +372 -0
  7. package/lib.decorators.legacy.d.ts.txt +22 -0
  8. package/lib.dom.d.ts.txt +27981 -0
  9. package/lib.dom.iterable.d.ts.txt +460 -0
  10. package/lib.es2015.collection.d.ts.txt +148 -0
  11. package/lib.es2015.core.d.ts.txt +557 -0
  12. package/lib.es2015.d.ts.txt +28 -0
  13. package/lib.es2015.generator.d.ts.txt +77 -0
  14. package/lib.es2015.iterable.d.ts.txt +496 -0
  15. package/lib.es2015.promise.d.ts.txt +81 -0
  16. package/lib.es2015.proxy.d.ts.txt +128 -0
  17. package/lib.es2015.reflect.d.ts.txt +144 -0
  18. package/lib.es2015.symbol.d.ts.txt +46 -0
  19. package/lib.es2015.symbol.wellknown.d.ts.txt +326 -0
  20. package/lib.es2016.array.include.d.ts.txt +116 -0
  21. package/lib.es2016.d.ts.txt +20 -0
  22. package/lib.es2016.full.d.ts.txt +23 -0
  23. package/lib.es2017.d.ts.txt +24 -0
  24. package/lib.es2017.full.d.ts.txt +23 -0
  25. package/lib.es2017.intl.d.ts.txt +45 -0
  26. package/lib.es2017.object.d.ts.txt +49 -0
  27. package/lib.es2017.sharedmemory.d.ts.txt +135 -0
  28. package/lib.es2017.string.d.ts.txt +45 -0
  29. package/lib.es2017.typedarrays.d.ts.txt +53 -0
  30. package/lib.es2018.asyncgenerator.d.ts.txt +77 -0
  31. package/lib.es2018.asynciterable.d.ts.txt +43 -0
  32. package/lib.es2018.d.ts.txt +24 -0
  33. package/lib.es2018.full.d.ts.txt +23 -0
  34. package/lib.es2018.intl.d.ts.txt +71 -0
  35. package/lib.es2018.promise.d.ts.txt +30 -0
  36. package/lib.es2018.regexp.d.ts.txt +37 -0
  37. package/lib.es2019.array.d.ts.txt +83 -0
  38. package/lib.es2019.d.ts.txt +24 -0
  39. package/lib.es2019.full.d.ts.txt +23 -0
  40. package/lib.es2019.intl.d.ts.txt +23 -0
  41. package/lib.es2019.object.d.ts.txt +33 -0
  42. package/lib.es2019.string.d.ts.txt +37 -0
  43. package/lib.es2019.symbol.d.ts.txt +24 -0
  44. package/lib.es2020.bigint.d.ts.txt +728 -0
  45. package/lib.es2020.d.ts.txt +27 -0
  46. package/lib.es2020.date.d.ts.txt +42 -0
  47. package/lib.es2020.full.d.ts.txt +23 -0
  48. package/lib.es2020.intl.d.ts.txt +431 -0
  49. package/lib.es2020.number.d.ts.txt +28 -0
  50. package/lib.es2020.promise.d.ts.txt +47 -0
  51. package/lib.es2020.sharedmemory.d.ts.txt +97 -0
  52. package/lib.es2020.string.d.ts.txt +28 -0
  53. package/lib.es2020.symbol.wellknown.d.ts.txt +37 -0
  54. package/lib.es2021.d.ts.txt +23 -0
  55. package/lib.es2021.full.d.ts.txt +23 -0
  56. package/lib.es2021.intl.d.ts.txt +167 -0
  57. package/lib.es2021.promise.d.ts.txt +48 -0
  58. package/lib.es2021.string.d.ts.txt +33 -0
  59. package/lib.es2021.weakref.d.ts.txt +73 -0
  60. package/lib.es2022.array.d.ts.txt +121 -0
  61. package/lib.es2022.d.ts.txt +26 -0
  62. package/lib.es2022.error.d.ts.txt +73 -0
  63. package/lib.es2022.full.d.ts.txt +23 -0
  64. package/lib.es2022.intl.d.ts.txt +118 -0
  65. package/lib.es2022.object.d.ts.txt +26 -0
  66. package/lib.es2022.regexp.d.ts.txt +39 -0
  67. package/lib.es2022.sharedmemory.d.ts.txt +39 -0
  68. package/lib.es2022.string.d.ts.txt +25 -0
  69. package/lib.es2023.array.d.ts.txt +342 -0
  70. package/lib.es2023.d.ts.txt +20 -0
  71. package/lib.es2023.full.d.ts.txt +23 -0
  72. package/lib.es5.d.ts.txt +4545 -0
  73. package/lib.es6.d.ts.txt +23 -0
  74. package/lib.esnext.d.ts.txt +20 -0
  75. package/lib.esnext.full.d.ts.txt +23 -0
  76. package/lib.esnext.intl.d.ts.txt +28 -0
  77. package/lib.scripthost.d.ts.txt +325 -0
  78. package/lib.webworker.d.ts.txt +9185 -0
  79. package/lib.webworker.importscripts.d.ts.txt +24 -0
  80. package/lib.webworker.iterable.d.ts.txt +270 -0
  81. package/package.json +22 -0
  82. package/package.schema.json +31 -0
  83. package/tsconfig.schema.json +13 -0
  84. package/tsserver.web.js +187934 -0
  85. package/tsserver.web.js.map +1 -0
  86. package/typesMap.json +497 -0
  87. package/typescript.d.ts.txt +7272 -0
@@ -0,0 +1,342 @@
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
+ interface ReadonlyArray<T> {
45
+ /**
46
+ * Returns the value of the last element in the array where predicate is true, and undefined
47
+ * otherwise.
48
+ * @param predicate findLast calls predicate once for each element of the array, in descending
49
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
50
+ * immediately returns that element value. Otherwise, findLast returns undefined.
51
+ * @param thisArg If provided, it will be used as the this value for each invocation of
52
+ * predicate. If it is not provided, undefined is used instead.
53
+ */
54
+ findLast<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisArg?: any): S | undefined;
55
+ findLast(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): T | undefined;
56
+
57
+ /**
58
+ * Returns the index of the last element in the array where predicate is true, and -1
59
+ * otherwise.
60
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
61
+ * order, until it finds one where predicate returns true. If such an element is found,
62
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
63
+ * @param thisArg If provided, it will be used as the this value for each invocation of
64
+ * predicate. If it is not provided, undefined is used instead.
65
+ */
66
+ findLastIndex(predicate: (value: T, index: number, array: readonly T[]) => unknown, thisArg?: any): number;
67
+ }
68
+
69
+ interface Int8Array {
70
+ /**
71
+ * Returns the value of the last element in the array where predicate is true, and undefined
72
+ * otherwise.
73
+ * @param predicate findLast calls predicate once for each element of the array, in descending
74
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
75
+ * immediately returns that element value. Otherwise, findLast returns undefined.
76
+ * @param thisArg If provided, it will be used as the this value for each invocation of
77
+ * predicate. If it is not provided, undefined is used instead.
78
+ */
79
+ findLast<S extends number>(predicate: (value: number, index: number, array: Int8Array) => value is S, thisArg?: any): S | undefined;
80
+ findLast(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): number | undefined;
81
+
82
+ /**
83
+ * Returns the index of the last element in the array where predicate is true, and -1
84
+ * otherwise.
85
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
86
+ * order, until it finds one where predicate returns true. If such an element is found,
87
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
88
+ * @param thisArg If provided, it will be used as the this value for each invocation of
89
+ * predicate. If it is not provided, undefined is used instead.
90
+ */
91
+ findLastIndex(predicate: (value: number, index: number, array: Int8Array) => unknown, thisArg?: any): number;
92
+ }
93
+
94
+ interface Uint8Array {
95
+ /**
96
+ * Returns the value of the last element in the array where predicate is true, and undefined
97
+ * otherwise.
98
+ * @param predicate findLast calls predicate once for each element of the array, in descending
99
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
100
+ * immediately returns that element value. Otherwise, findLast returns undefined.
101
+ * @param thisArg If provided, it will be used as the this value for each invocation of
102
+ * predicate. If it is not provided, undefined is used instead.
103
+ */
104
+ findLast<S extends number>(predicate: (value: number, index: number, array: Uint8Array) => value is S, thisArg?: any): S | undefined;
105
+ findLast(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): number | 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(predicate: (value: number, index: number, array: Uint8Array) => unknown, thisArg?: any): number;
117
+ }
118
+
119
+ interface Uint8ClampedArray {
120
+ /**
121
+ * Returns the value of the last element in the array where predicate is true, and undefined
122
+ * otherwise.
123
+ * @param predicate findLast calls predicate once for each element of the array, in descending
124
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
125
+ * immediately returns that element value. Otherwise, findLast returns undefined.
126
+ * @param thisArg If provided, it will be used as the this value for each invocation of
127
+ * predicate. If it is not provided, undefined is used instead.
128
+ */
129
+ findLast<S extends number>(predicate: (value: number, index: number, array: Uint8ClampedArray) => value is S, thisArg?: any): S | undefined;
130
+ findLast(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): number | undefined;
131
+
132
+ /**
133
+ * Returns the index of the last element in the array where predicate is true, and -1
134
+ * otherwise.
135
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
136
+ * order, until it finds one where predicate returns true. If such an element is found,
137
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
138
+ * @param thisArg If provided, it will be used as the this value for each invocation of
139
+ * predicate. If it is not provided, undefined is used instead.
140
+ */
141
+ findLastIndex(predicate: (value: number, index: number, array: Uint8ClampedArray) => unknown, thisArg?: any): number;
142
+ }
143
+
144
+ interface Int16Array {
145
+ /**
146
+ * Returns the value of the last element in the array where predicate is true, and undefined
147
+ * otherwise.
148
+ * @param predicate findLast calls predicate once for each element of the array, in descending
149
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
150
+ * immediately returns that element value. Otherwise, findLast returns undefined.
151
+ * @param thisArg If provided, it will be used as the this value for each invocation of
152
+ * predicate. If it is not provided, undefined is used instead.
153
+ */
154
+ findLast<S extends number>(predicate: (value: number, index: number, array: Int16Array) => value is S, thisArg?: any): S | undefined;
155
+ findLast(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): number | undefined;
156
+
157
+ /**
158
+ * Returns the index of the last element in the array where predicate is true, and -1
159
+ * otherwise.
160
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
161
+ * order, until it finds one where predicate returns true. If such an element is found,
162
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
163
+ * @param thisArg If provided, it will be used as the this value for each invocation of
164
+ * predicate. If it is not provided, undefined is used instead.
165
+ */
166
+ findLastIndex(predicate: (value: number, index: number, array: Int16Array) => unknown, thisArg?: any): number;
167
+ }
168
+
169
+ interface Uint16Array {
170
+ /**
171
+ * Returns the value of the last element in the array where predicate is true, and undefined
172
+ * otherwise.
173
+ * @param predicate findLast calls predicate once for each element of the array, in descending
174
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
175
+ * immediately returns that element value. Otherwise, findLast returns undefined.
176
+ * @param thisArg If provided, it will be used as the this value for each invocation of
177
+ * predicate. If it is not provided, undefined is used instead.
178
+ */
179
+ findLast<S extends number>(predicate: (value: number, index: number, array: Uint16Array) => value is S, thisArg?: any): S | undefined;
180
+ findLast(predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): number | undefined;
181
+
182
+ /**
183
+ * Returns the index of the last element in the array where predicate is true, and -1
184
+ * otherwise.
185
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
186
+ * order, until it finds one where predicate returns true. If such an element is found,
187
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
188
+ * @param thisArg If provided, it will be used as the this value for each invocation of
189
+ * predicate. If it is not provided, undefined is used instead.
190
+ */
191
+ findLastIndex(predicate: (value: number, index: number, array: Uint16Array) => unknown, thisArg?: any): number;
192
+ }
193
+
194
+ interface Int32Array {
195
+ /**
196
+ * Returns the value of the last element in the array where predicate is true, and undefined
197
+ * otherwise.
198
+ * @param predicate findLast calls predicate once for each element of the array, in descending
199
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
200
+ * immediately returns that element value. Otherwise, findLast returns undefined.
201
+ * @param thisArg If provided, it will be used as the this value for each invocation of
202
+ * predicate. If it is not provided, undefined is used instead.
203
+ */
204
+ findLast<S extends number>(predicate: (value: number, index: number, array: Int32Array) => value is S, thisArg?: any): S | undefined;
205
+ findLast(predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): number | undefined;
206
+
207
+ /**
208
+ * Returns the index of the last element in the array where predicate is true, and -1
209
+ * otherwise.
210
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
211
+ * order, until it finds one where predicate returns true. If such an element is found,
212
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
213
+ * @param thisArg If provided, it will be used as the this value for each invocation of
214
+ * predicate. If it is not provided, undefined is used instead.
215
+ */
216
+ findLastIndex(predicate: (value: number, index: number, array: Int32Array) => unknown, thisArg?: any): number;
217
+ }
218
+
219
+ interface Uint32Array {
220
+ /**
221
+ * Returns the value of the last element in the array where predicate is true, and undefined
222
+ * otherwise.
223
+ * @param predicate findLast calls predicate once for each element of the array, in descending
224
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
225
+ * immediately returns that element value. Otherwise, findLast returns undefined.
226
+ * @param thisArg If provided, it will be used as the this value for each invocation of
227
+ * predicate. If it is not provided, undefined is used instead.
228
+ */
229
+ findLast<S extends number>(predicate: (value: number, index: number, array: Uint32Array) => value is S, thisArg?: any): S | undefined;
230
+ findLast(predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): number | undefined;
231
+
232
+ /**
233
+ * Returns the index of the last element in the array where predicate is true, and -1
234
+ * otherwise.
235
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
236
+ * order, until it finds one where predicate returns true. If such an element is found,
237
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
238
+ * @param thisArg If provided, it will be used as the this value for each invocation of
239
+ * predicate. If it is not provided, undefined is used instead.
240
+ */
241
+ findLastIndex(predicate: (value: number, index: number, array: Uint32Array) => unknown, thisArg?: any): number;
242
+ }
243
+
244
+ interface Float32Array {
245
+ /**
246
+ * Returns the value of the last element in the array where predicate is true, and undefined
247
+ * otherwise.
248
+ * @param predicate findLast calls predicate once for each element of the array, in descending
249
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
250
+ * immediately returns that element value. Otherwise, findLast returns undefined.
251
+ * @param thisArg If provided, it will be used as the this value for each invocation of
252
+ * predicate. If it is not provided, undefined is used instead.
253
+ */
254
+ findLast<S extends number>(predicate: (value: number, index: number, array: Float32Array) => value is S, thisArg?: any): S | undefined;
255
+ findLast(predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): number | undefined;
256
+
257
+ /**
258
+ * Returns the index of the last element in the array where predicate is true, and -1
259
+ * otherwise.
260
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
261
+ * order, until it finds one where predicate returns true. If such an element is found,
262
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
263
+ * @param thisArg If provided, it will be used as the this value for each invocation of
264
+ * predicate. If it is not provided, undefined is used instead.
265
+ */
266
+ findLastIndex(predicate: (value: number, index: number, array: Float32Array) => unknown, thisArg?: any): number;
267
+ }
268
+
269
+ interface Float64Array {
270
+ /**
271
+ * Returns the value of the last element in the array where predicate is true, and undefined
272
+ * otherwise.
273
+ * @param predicate findLast calls predicate once for each element of the array, in descending
274
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
275
+ * immediately returns that element value. Otherwise, findLast returns undefined.
276
+ * @param thisArg If provided, it will be used as the this value for each invocation of
277
+ * predicate. If it is not provided, undefined is used instead.
278
+ */
279
+ findLast<S extends number>(predicate: (value: number, index: number, array: Float64Array) => value is S, thisArg?: any): S | undefined;
280
+ findLast(predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): number | undefined;
281
+
282
+ /**
283
+ * Returns the index of the last element in the array where predicate is true, and -1
284
+ * otherwise.
285
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
286
+ * order, until it finds one where predicate returns true. If such an element is found,
287
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
288
+ * @param thisArg If provided, it will be used as the this value for each invocation of
289
+ * predicate. If it is not provided, undefined is used instead.
290
+ */
291
+ findLastIndex(predicate: (value: number, index: number, array: Float64Array) => unknown, thisArg?: any): number;
292
+ }
293
+
294
+ interface BigInt64Array {
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 bigint>(predicate: (value: bigint, index: number, array: BigInt64Array) => value is S, thisArg?: any): S | undefined;
305
+ findLast(predicate: (value: bigint, index: number, array: BigInt64Array) => unknown, thisArg?: any): bigint | undefined;
306
+
307
+ /**
308
+ * Returns the index of the last element in the array where predicate is true, and -1
309
+ * otherwise.
310
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
311
+ * order, until it finds one where predicate returns true. If such an element is found,
312
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
313
+ * @param thisArg If provided, it will be used as the this value for each invocation of
314
+ * predicate. If it is not provided, undefined is used instead.
315
+ */
316
+ findLastIndex(predicate: (value: bigint, index: number, array: BigInt64Array) => unknown, thisArg?: any): number;
317
+ }
318
+
319
+ interface BigUint64Array {
320
+ /**
321
+ * Returns the value of the last element in the array where predicate is true, and undefined
322
+ * otherwise.
323
+ * @param predicate findLast calls predicate once for each element of the array, in descending
324
+ * order, until it finds one where predicate returns true. If such an element is found, findLast
325
+ * immediately returns that element value. Otherwise, findLast returns undefined.
326
+ * @param thisArg If provided, it will be used as the this value for each invocation of
327
+ * predicate. If it is not provided, undefined is used instead.
328
+ */
329
+ findLast<S extends bigint>(predicate: (value: bigint, index: number, array: BigUint64Array) => value is S, thisArg?: any): S | undefined;
330
+ findLast(predicate: (value: bigint, index: number, array: BigUint64Array) => unknown, thisArg?: any): bigint | undefined;
331
+
332
+ /**
333
+ * Returns the index of the last element in the array where predicate is true, and -1
334
+ * otherwise.
335
+ * @param predicate findLastIndex calls predicate once for each element of the array, in descending
336
+ * order, until it finds one where predicate returns true. If such an element is found,
337
+ * findLastIndex immediately returns that element index. Otherwise, findLastIndex returns -1.
338
+ * @param thisArg If provided, it will be used as the this value for each invocation of
339
+ * predicate. If it is not provided, undefined is used instead.
340
+ */
341
+ findLastIndex(predicate: (value: bigint, index: number, array: BigUint64Array) => unknown, thisArg?: any): number;
342
+ }
@@ -0,0 +1,20 @@
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" />
@@ -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="es2023" />
20
+ /// <reference lib="dom" />
21
+ /// <reference lib="webworker.importscripts" />
22
+ /// <reference lib="scripthost" />
23
+ /// <reference lib="dom.iterable" />