@tsonic/js 10.0.1 → 10.0.6
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.
- package/__internal/extensions/index.d.ts +84 -0
- package/index/bindings.json +515 -17
- package/index/internal/index.d.ts +250 -178
- package/index.d.ts +3 -0
- package/package.json +3 -3
|
@@ -6,16 +6,18 @@
|
|
|
6
6
|
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
|
-
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
10
|
-
import type {
|
|
11
|
-
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections.js";
|
|
12
|
-
import type { IEnumerable } from "@tsonic/dotnet/System.Collections.js";
|
|
13
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
14
|
-
import type { Action, Boolean as ClrBoolean, Byte,
|
|
9
|
+
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
10
|
+
import type { IEnumerable_1, IEnumerator_1, KeyValuePair_2, List_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
11
|
+
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
12
|
+
import type { IEnumerable } from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
13
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
14
|
+
import type { Action, Action_1, Action_2, Action_3, Boolean as ClrBoolean, Byte, Comparison_1, Double, Func_2, Func_3, Func_4, Func_5, Int16, Int32, Int64, Nullable_1, Object as ClrObject, SByte, Single, String as ClrString, UInt16, UInt32, ValueTuple_2, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
15
15
|
|
|
16
16
|
export interface ArrayBuffer$instance {
|
|
17
|
+
readonly __tsonic_type_Tsonic_JSRuntime_ArrayBuffer: never;
|
|
18
|
+
|
|
17
19
|
readonly byteLength: int;
|
|
18
|
-
slice(begin?: int, end?:
|
|
20
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): ArrayBuffer;
|
|
19
21
|
}
|
|
20
22
|
|
|
21
23
|
|
|
@@ -27,6 +29,8 @@ export const ArrayBuffer: {
|
|
|
27
29
|
export type ArrayBuffer = ArrayBuffer$instance;
|
|
28
30
|
|
|
29
31
|
export interface Date$instance {
|
|
32
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Date: never;
|
|
33
|
+
|
|
30
34
|
getDate(): int;
|
|
31
35
|
getDay(): int;
|
|
32
36
|
getFullYear(): int;
|
|
@@ -46,20 +50,20 @@ export interface Date$instance {
|
|
|
46
50
|
getUTCMonth(): int;
|
|
47
51
|
getUTCSeconds(): int;
|
|
48
52
|
setDate(day: int): double;
|
|
49
|
-
setFullYear(year: int, month?:
|
|
50
|
-
setHours(hour: int, min?:
|
|
53
|
+
setFullYear(year: int, month?: Nullable_1<System_Internal.Int32>, day?: Nullable_1<System_Internal.Int32>): double;
|
|
54
|
+
setHours(hour: int, min?: Nullable_1<System_Internal.Int32>, sec?: Nullable_1<System_Internal.Int32>, ms?: Nullable_1<System_Internal.Int32>): double;
|
|
51
55
|
setMilliseconds(ms: int): double;
|
|
52
|
-
setMinutes(min: int, sec?:
|
|
53
|
-
setMonth(month: int, day?:
|
|
54
|
-
setSeconds(sec: int, ms?:
|
|
56
|
+
setMinutes(min: int, sec?: Nullable_1<System_Internal.Int32>, ms?: Nullable_1<System_Internal.Int32>): double;
|
|
57
|
+
setMonth(month: int, day?: Nullable_1<System_Internal.Int32>): double;
|
|
58
|
+
setSeconds(sec: int, ms?: Nullable_1<System_Internal.Int32>): double;
|
|
55
59
|
setTime(milliseconds: double): double;
|
|
56
60
|
setUTCDate(day: int): double;
|
|
57
|
-
setUTCFullYear(year: int, month?:
|
|
58
|
-
setUTCHours(hour: int, min?:
|
|
61
|
+
setUTCFullYear(year: int, month?: Nullable_1<System_Internal.Int32>, day?: Nullable_1<System_Internal.Int32>): double;
|
|
62
|
+
setUTCHours(hour: int, min?: Nullable_1<System_Internal.Int32>, sec?: Nullable_1<System_Internal.Int32>, ms?: Nullable_1<System_Internal.Int32>): double;
|
|
59
63
|
setUTCMilliseconds(ms: int): double;
|
|
60
|
-
setUTCMinutes(min: int, sec?:
|
|
61
|
-
setUTCMonth(month: int, day?:
|
|
62
|
-
setUTCSeconds(sec: int, ms?:
|
|
64
|
+
setUTCMinutes(min: int, sec?: Nullable_1<System_Internal.Int32>, ms?: Nullable_1<System_Internal.Int32>): double;
|
|
65
|
+
setUTCMonth(month: int, day?: Nullable_1<System_Internal.Int32>): double;
|
|
66
|
+
setUTCSeconds(sec: int, ms?: Nullable_1<System_Internal.Int32>): double;
|
|
63
67
|
toDateString(): string;
|
|
64
68
|
toISOString(): string;
|
|
65
69
|
toJSON(): string;
|
|
@@ -87,26 +91,31 @@ export const Date: {
|
|
|
87
91
|
export type Date = Date$instance;
|
|
88
92
|
|
|
89
93
|
export interface Float32Array$instance {
|
|
94
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Float32Array: never;
|
|
95
|
+
|
|
96
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
97
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
98
|
+
|
|
90
99
|
readonly byteLength: int;
|
|
91
|
-
|
|
100
|
+
[index: number]: float;
|
|
92
101
|
readonly length: int;
|
|
93
|
-
at(index: int):
|
|
94
|
-
fill(value: float, start?: int, end?:
|
|
95
|
-
GetEnumerator():
|
|
102
|
+
at(index: int): Nullable_1<System_Internal.Single>;
|
|
103
|
+
fill(value: float, start?: int, end?: Nullable_1<System_Internal.Int32>): Float32Array;
|
|
104
|
+
GetEnumerator(): IEnumerator_1<System_Internal.Single>;
|
|
96
105
|
includes(value: float, fromIndex?: int): boolean;
|
|
97
106
|
indexOf(value: float, fromIndex?: int): int;
|
|
98
107
|
join(separator?: string): string;
|
|
99
108
|
reverse(): Float32Array;
|
|
100
|
-
set(array:
|
|
101
|
-
slice(begin?: int, end?:
|
|
102
|
-
sort(compareFn?:
|
|
103
|
-
subarray(begin?: int, end?:
|
|
109
|
+
set(array: IEnumerable_1<System_Internal.Single>, offset?: int): void;
|
|
110
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Float32Array;
|
|
111
|
+
sort(compareFn?: Comparison_1<System_Internal.Single>): Float32Array;
|
|
112
|
+
subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Float32Array;
|
|
104
113
|
}
|
|
105
114
|
|
|
106
115
|
|
|
107
116
|
export const Float32Array: {
|
|
108
117
|
new(length: int): Float32Array;
|
|
109
|
-
new(values:
|
|
118
|
+
new(values: IEnumerable_1<System_Internal.Single>): Float32Array;
|
|
110
119
|
new(values: float[]): Float32Array;
|
|
111
120
|
readonly BYTES_PER_ELEMENT: int;
|
|
112
121
|
};
|
|
@@ -115,26 +124,31 @@ export const Float32Array: {
|
|
|
115
124
|
export type Float32Array = Float32Array$instance;
|
|
116
125
|
|
|
117
126
|
export interface Float64Array$instance {
|
|
127
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Float64Array: never;
|
|
128
|
+
|
|
129
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
130
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
131
|
+
|
|
118
132
|
readonly byteLength: int;
|
|
119
|
-
|
|
133
|
+
[index: number]: double;
|
|
120
134
|
readonly length: int;
|
|
121
|
-
at(index: int):
|
|
122
|
-
fill(value: double, start?: int, end?:
|
|
123
|
-
GetEnumerator():
|
|
135
|
+
at(index: int): Nullable_1<System_Internal.Double>;
|
|
136
|
+
fill(value: double, start?: int, end?: Nullable_1<System_Internal.Int32>): Float64Array;
|
|
137
|
+
GetEnumerator(): IEnumerator_1<System_Internal.Double>;
|
|
124
138
|
includes(value: double, fromIndex?: int): boolean;
|
|
125
139
|
indexOf(value: double, fromIndex?: int): int;
|
|
126
140
|
join(separator?: string): string;
|
|
127
141
|
reverse(): Float64Array;
|
|
128
|
-
set(array:
|
|
129
|
-
slice(begin?: int, end?:
|
|
130
|
-
sort(compareFn?:
|
|
131
|
-
subarray(begin?: int, end?:
|
|
142
|
+
set(array: IEnumerable_1<System_Internal.Double>, offset?: int): void;
|
|
143
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Float64Array;
|
|
144
|
+
sort(compareFn?: Comparison_1<System_Internal.Double>): Float64Array;
|
|
145
|
+
subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Float64Array;
|
|
132
146
|
}
|
|
133
147
|
|
|
134
148
|
|
|
135
149
|
export const Float64Array: {
|
|
136
150
|
new(length: int): Float64Array;
|
|
137
|
-
new(values:
|
|
151
|
+
new(values: IEnumerable_1<System_Internal.Double>): Float64Array;
|
|
138
152
|
new(values: double[]): Float64Array;
|
|
139
153
|
readonly BYTES_PER_ELEMENT: int;
|
|
140
154
|
};
|
|
@@ -143,26 +157,31 @@ export const Float64Array: {
|
|
|
143
157
|
export type Float64Array = Float64Array$instance;
|
|
144
158
|
|
|
145
159
|
export interface Int16Array$instance {
|
|
160
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Int16Array: never;
|
|
161
|
+
|
|
162
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
163
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
164
|
+
|
|
146
165
|
readonly byteLength: int;
|
|
147
|
-
|
|
166
|
+
[index: number]: short;
|
|
148
167
|
readonly length: int;
|
|
149
|
-
at(index: int):
|
|
150
|
-
fill(value: short, start?: int, end?:
|
|
151
|
-
GetEnumerator():
|
|
168
|
+
at(index: int): Nullable_1<System_Internal.Int16>;
|
|
169
|
+
fill(value: short, start?: int, end?: Nullable_1<System_Internal.Int32>): Int16Array;
|
|
170
|
+
GetEnumerator(): IEnumerator_1<System_Internal.Int16>;
|
|
152
171
|
includes(value: short, fromIndex?: int): boolean;
|
|
153
172
|
indexOf(value: short, fromIndex?: int): int;
|
|
154
173
|
join(separator?: string): string;
|
|
155
174
|
reverse(): Int16Array;
|
|
156
|
-
set(array:
|
|
157
|
-
slice(begin?: int, end?:
|
|
158
|
-
sort(compareFn?:
|
|
159
|
-
subarray(begin?: int, end?:
|
|
175
|
+
set(array: IEnumerable_1<System_Internal.Int16>, offset?: int): void;
|
|
176
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Int16Array;
|
|
177
|
+
sort(compareFn?: Comparison_1<System_Internal.Int16>): Int16Array;
|
|
178
|
+
subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Int16Array;
|
|
160
179
|
}
|
|
161
180
|
|
|
162
181
|
|
|
163
182
|
export const Int16Array: {
|
|
164
183
|
new(length: int): Int16Array;
|
|
165
|
-
new(values:
|
|
184
|
+
new(values: IEnumerable_1<System_Internal.Int16>): Int16Array;
|
|
166
185
|
new(values: short[]): Int16Array;
|
|
167
186
|
readonly BYTES_PER_ELEMENT: int;
|
|
168
187
|
};
|
|
@@ -171,26 +190,31 @@ export const Int16Array: {
|
|
|
171
190
|
export type Int16Array = Int16Array$instance;
|
|
172
191
|
|
|
173
192
|
export interface Int32Array$instance {
|
|
193
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Int32Array: never;
|
|
194
|
+
|
|
195
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
196
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
197
|
+
|
|
174
198
|
readonly byteLength: int;
|
|
175
|
-
|
|
199
|
+
[index: number]: int;
|
|
176
200
|
readonly length: int;
|
|
177
|
-
at(index: int):
|
|
178
|
-
fill(value: int, start?: int, end?:
|
|
179
|
-
GetEnumerator():
|
|
201
|
+
at(index: int): Nullable_1<System_Internal.Int32>;
|
|
202
|
+
fill(value: int, start?: int, end?: Nullable_1<System_Internal.Int32>): Int32Array;
|
|
203
|
+
GetEnumerator(): IEnumerator_1<System_Internal.Int32>;
|
|
180
204
|
includes(value: int, fromIndex?: int): boolean;
|
|
181
205
|
indexOf(value: int, fromIndex?: int): int;
|
|
182
206
|
join(separator?: string): string;
|
|
183
207
|
reverse(): Int32Array;
|
|
184
|
-
set(array:
|
|
185
|
-
slice(begin?: int, end?:
|
|
186
|
-
sort(compareFn?:
|
|
187
|
-
subarray(begin?: int, end?:
|
|
208
|
+
set(array: IEnumerable_1<System_Internal.Int32>, offset?: int): void;
|
|
209
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Int32Array;
|
|
210
|
+
sort(compareFn?: Comparison_1<System_Internal.Int32>): Int32Array;
|
|
211
|
+
subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Int32Array;
|
|
188
212
|
}
|
|
189
213
|
|
|
190
214
|
|
|
191
215
|
export const Int32Array: {
|
|
192
216
|
new(length: int): Int32Array;
|
|
193
|
-
new(values:
|
|
217
|
+
new(values: IEnumerable_1<System_Internal.Int32>): Int32Array;
|
|
194
218
|
new(values: int[]): Int32Array;
|
|
195
219
|
readonly BYTES_PER_ELEMENT: int;
|
|
196
220
|
};
|
|
@@ -199,26 +223,31 @@ export const Int32Array: {
|
|
|
199
223
|
export type Int32Array = Int32Array$instance;
|
|
200
224
|
|
|
201
225
|
export interface Int8Array$instance {
|
|
226
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Int8Array: never;
|
|
227
|
+
|
|
228
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
229
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
230
|
+
|
|
202
231
|
readonly byteLength: int;
|
|
203
|
-
|
|
232
|
+
[index: number]: sbyte;
|
|
204
233
|
readonly length: int;
|
|
205
|
-
at(index: int):
|
|
206
|
-
fill(value: sbyte, start?: int, end?:
|
|
207
|
-
GetEnumerator():
|
|
234
|
+
at(index: int): Nullable_1<System_Internal.SByte>;
|
|
235
|
+
fill(value: sbyte, start?: int, end?: Nullable_1<System_Internal.Int32>): Int8Array;
|
|
236
|
+
GetEnumerator(): IEnumerator_1<System_Internal.SByte>;
|
|
208
237
|
includes(value: sbyte, fromIndex?: int): boolean;
|
|
209
238
|
indexOf(value: sbyte, fromIndex?: int): int;
|
|
210
239
|
join(separator?: string): string;
|
|
211
240
|
reverse(): Int8Array;
|
|
212
|
-
set(array:
|
|
213
|
-
slice(begin?: int, end?:
|
|
214
|
-
sort(compareFn?:
|
|
215
|
-
subarray(begin?: int, end?:
|
|
241
|
+
set(array: IEnumerable_1<System_Internal.SByte>, offset?: int): void;
|
|
242
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Int8Array;
|
|
243
|
+
sort(compareFn?: Comparison_1<System_Internal.SByte>): Int8Array;
|
|
244
|
+
subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Int8Array;
|
|
216
245
|
}
|
|
217
246
|
|
|
218
247
|
|
|
219
248
|
export const Int8Array: {
|
|
220
249
|
new(length: int): Int8Array;
|
|
221
|
-
new(values:
|
|
250
|
+
new(values: IEnumerable_1<System_Internal.SByte>): Int8Array;
|
|
222
251
|
new(values: sbyte[]): Int8Array;
|
|
223
252
|
readonly BYTES_PER_ELEMENT: int;
|
|
224
253
|
};
|
|
@@ -227,72 +256,77 @@ export const Int8Array: {
|
|
|
227
256
|
export type Int8Array = Int8Array$instance;
|
|
228
257
|
|
|
229
258
|
export interface JSArray_1$instance<T> {
|
|
230
|
-
|
|
259
|
+
readonly __tsonic_type_Tsonic_JSRuntime_JSArray_1: never;
|
|
260
|
+
|
|
261
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
262
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
263
|
+
|
|
264
|
+
[index: number]: T;
|
|
231
265
|
readonly length: int;
|
|
232
266
|
at(index: int): T;
|
|
233
267
|
concat(...items: unknown[]): JSArray_1<T>;
|
|
234
|
-
copyWithin(target: int, start?: int, end?:
|
|
235
|
-
entries():
|
|
236
|
-
every(callback:
|
|
237
|
-
every(callback:
|
|
238
|
-
fill(value: T, start?: int, end?:
|
|
239
|
-
filter(callback:
|
|
240
|
-
filter(callback:
|
|
241
|
-
filter(callback:
|
|
242
|
-
find(callback:
|
|
243
|
-
find(callback:
|
|
244
|
-
find(callback:
|
|
245
|
-
findIndex(callback:
|
|
246
|
-
findIndex(callback:
|
|
247
|
-
findIndex(callback:
|
|
248
|
-
findLast(callback:
|
|
249
|
-
findLast(callback:
|
|
250
|
-
findLast(callback:
|
|
251
|
-
findLastIndex(callback:
|
|
252
|
-
findLastIndex(callback:
|
|
253
|
-
findLastIndex(callback:
|
|
268
|
+
copyWithin(target: int, start?: int, end?: Nullable_1<System_Internal.Int32>): JSArray_1<T>;
|
|
269
|
+
entries(): IEnumerable_1<ValueTuple_2<System_Internal.Int32, T>>;
|
|
270
|
+
every(callback: Func_2<T, System_Internal.Boolean>): boolean;
|
|
271
|
+
every(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): boolean;
|
|
272
|
+
fill(value: T, start?: int, end?: Nullable_1<System_Internal.Int32>): JSArray_1<T>;
|
|
273
|
+
filter(callback: Func_2<T, System_Internal.Boolean>): JSArray_1<T>;
|
|
274
|
+
filter(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): JSArray_1<T>;
|
|
275
|
+
filter(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): JSArray_1<T>;
|
|
276
|
+
find(callback: Func_2<T, System_Internal.Boolean>): T;
|
|
277
|
+
find(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): T;
|
|
278
|
+
find(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): T;
|
|
279
|
+
findIndex(callback: Func_2<T, System_Internal.Boolean>): int;
|
|
280
|
+
findIndex(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): int;
|
|
281
|
+
findIndex(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): int;
|
|
282
|
+
findLast(callback: Func_2<T, System_Internal.Boolean>): T;
|
|
283
|
+
findLast(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): T;
|
|
284
|
+
findLast(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): T;
|
|
285
|
+
findLastIndex(callback: Func_2<T, System_Internal.Boolean>): int;
|
|
286
|
+
findLastIndex(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): int;
|
|
287
|
+
findLastIndex(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): int;
|
|
254
288
|
flat(depth?: int): JSArray_1<unknown>;
|
|
255
|
-
flatMap<TResult>(callback:
|
|
256
|
-
forEach(callback:
|
|
257
|
-
forEach(callback:
|
|
258
|
-
forEach(callback:
|
|
259
|
-
GetEnumerator():
|
|
289
|
+
flatMap<TResult>(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, unknown>): JSArray_1<TResult>;
|
|
290
|
+
forEach(callback: Action_1<T>): void;
|
|
291
|
+
forEach(callback: Action_2<T, System_Internal.Int32>): void;
|
|
292
|
+
forEach(callback: Action_3<T, System_Internal.Int32, JSArray_1<T>>): void;
|
|
293
|
+
GetEnumerator(): IEnumerator_1<T>;
|
|
260
294
|
includes(searchElement: T): boolean;
|
|
261
295
|
indexOf(searchElement: T, fromIndex?: int): int;
|
|
262
296
|
join(separator?: string): string;
|
|
263
|
-
keys():
|
|
264
|
-
lastIndexOf(searchElement: T, fromIndex?:
|
|
265
|
-
map<TResult>(callback:
|
|
266
|
-
map<TResult>(callback:
|
|
267
|
-
map<TResult>(callback:
|
|
297
|
+
keys(): IEnumerable_1<System_Internal.Int32>;
|
|
298
|
+
lastIndexOf(searchElement: T, fromIndex?: Nullable_1<System_Internal.Int32>): int;
|
|
299
|
+
map<TResult>(callback: Func_2<T, TResult>): JSArray_1<TResult>;
|
|
300
|
+
map<TResult>(callback: Func_3<T, System_Internal.Int32, TResult>): JSArray_1<TResult>;
|
|
301
|
+
map<TResult>(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, TResult>): JSArray_1<TResult>;
|
|
268
302
|
pop(): T;
|
|
269
303
|
push(item: T): int;
|
|
270
304
|
push(...items: T[]): int;
|
|
271
|
-
reduce<TResult>(callback:
|
|
272
|
-
reduce<TResult>(callback:
|
|
273
|
-
reduce<TResult>(callback:
|
|
274
|
-
reduce(callback:
|
|
275
|
-
reduceRight<TResult>(callback:
|
|
276
|
-
reduceRight<TResult>(callback:
|
|
277
|
-
reduceRight<TResult>(callback:
|
|
305
|
+
reduce<TResult>(callback: Func_3<TResult, T, TResult>, initialValue: TResult): TResult;
|
|
306
|
+
reduce<TResult>(callback: Func_4<TResult, T, System_Internal.Int32, TResult>, initialValue: TResult): TResult;
|
|
307
|
+
reduce<TResult>(callback: Func_5<TResult, T, System_Internal.Int32, JSArray_1<T>, TResult>, initialValue: TResult): TResult;
|
|
308
|
+
reduce(callback: Func_3<T, T, T>): T;
|
|
309
|
+
reduceRight<TResult>(callback: Func_3<TResult, T, TResult>, initialValue: TResult): TResult;
|
|
310
|
+
reduceRight<TResult>(callback: Func_4<TResult, T, System_Internal.Int32, TResult>, initialValue: TResult): TResult;
|
|
311
|
+
reduceRight<TResult>(callback: Func_5<TResult, T, System_Internal.Int32, JSArray_1<T>, TResult>, initialValue: TResult): TResult;
|
|
278
312
|
reverse(): JSArray_1<T>;
|
|
279
313
|
setLength(newLength: int): void;
|
|
280
314
|
shift(): T;
|
|
281
|
-
slice(start?: int, end?:
|
|
282
|
-
some(callback:
|
|
283
|
-
some(callback:
|
|
284
|
-
sort(compareFunc?:
|
|
285
|
-
splice(start: int, deleteCount?:
|
|
315
|
+
slice(start?: int, end?: Nullable_1<System_Internal.Int32>): JSArray_1<T>;
|
|
316
|
+
some(callback: Func_2<T, System_Internal.Boolean>): boolean;
|
|
317
|
+
some(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): boolean;
|
|
318
|
+
sort(compareFunc?: Func_3<T, T, System_Internal.Double>): JSArray_1<T>;
|
|
319
|
+
splice(start: int, deleteCount?: Nullable_1<System_Internal.Int32>, ...items: T[]): JSArray_1<T>;
|
|
286
320
|
toArray(): T[];
|
|
287
|
-
toList():
|
|
321
|
+
toList(): List_1<T>;
|
|
288
322
|
toLocaleString(): string;
|
|
289
323
|
toReversed(): JSArray_1<T>;
|
|
290
|
-
toSorted(compareFunc?:
|
|
291
|
-
toSpliced(start: int, deleteCount?:
|
|
324
|
+
toSorted(compareFunc?: Func_3<T, T, System_Internal.Double>): JSArray_1<T>;
|
|
325
|
+
toSpliced(start: int, deleteCount?: Nullable_1<System_Internal.Int32>, ...items: T[]): JSArray_1<T>;
|
|
292
326
|
ToString(): string;
|
|
293
327
|
unshift(item: T): int;
|
|
294
328
|
unshift(...items: T[]): int;
|
|
295
|
-
values():
|
|
329
|
+
values(): IEnumerable_1<T>;
|
|
296
330
|
with(index: int, value: T): JSArray_1<T>;
|
|
297
331
|
}
|
|
298
332
|
|
|
@@ -301,10 +335,10 @@ export const JSArray_1: {
|
|
|
301
335
|
new<T>(): JSArray_1<T>;
|
|
302
336
|
new<T>(capacity: int): JSArray_1<T>;
|
|
303
337
|
new<T>(source: T[]): JSArray_1<T>;
|
|
304
|
-
new<T>(source:
|
|
305
|
-
new<T>(source:
|
|
306
|
-
from<T, TSource, TResult>(iterable:
|
|
307
|
-
from<T>(iterable:
|
|
338
|
+
new<T>(source: List_1<T>): JSArray_1<T>;
|
|
339
|
+
new<T>(source: IEnumerable_1<T>): JSArray_1<T>;
|
|
340
|
+
from<T, TSource, TResult>(iterable: IEnumerable_1<TSource>, mapFunc: Func_3<TSource, System_Internal.Int32, TResult>): JSArray_1<TResult>;
|
|
341
|
+
from<T>(iterable: IEnumerable_1<T>): JSArray_1<T>;
|
|
308
342
|
isArray<T>(value: unknown): boolean;
|
|
309
343
|
of<T>(...items: T[]): JSArray_1<T>;
|
|
310
344
|
};
|
|
@@ -313,31 +347,38 @@ export const JSArray_1: {
|
|
|
313
347
|
export type JSArray_1<T> = JSArray_1$instance<T>;
|
|
314
348
|
|
|
315
349
|
export interface Map_2$instance<K, V> {
|
|
350
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Map_2: never;
|
|
351
|
+
|
|
352
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
353
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
354
|
+
|
|
316
355
|
readonly size: int;
|
|
317
356
|
clear(): void;
|
|
318
357
|
delete(key: K): boolean;
|
|
319
|
-
entries():
|
|
320
|
-
forEach(callback:
|
|
321
|
-
forEach(callback:
|
|
322
|
-
forEach(callback:
|
|
358
|
+
entries(): IEnumerable_1<ValueTuple_2<K, V>>;
|
|
359
|
+
forEach(callback: Action_3<V, K, Map_2<K, V>>): void;
|
|
360
|
+
forEach(callback: Action_2<V, K>): void;
|
|
361
|
+
forEach(callback: Action_1<V>): void;
|
|
323
362
|
get(key: K): V | undefined;
|
|
324
|
-
GetEnumerator():
|
|
363
|
+
GetEnumerator(): IEnumerator_1<KeyValuePair_2<K, V>>;
|
|
325
364
|
has(key: K): boolean;
|
|
326
|
-
keys():
|
|
365
|
+
keys(): IEnumerable_1<K>;
|
|
327
366
|
set(key: K, value: V): Map_2<K, V>;
|
|
328
|
-
values():
|
|
367
|
+
values(): IEnumerable_1<V>;
|
|
329
368
|
}
|
|
330
369
|
|
|
331
370
|
|
|
332
371
|
export const Map_2: {
|
|
333
372
|
new<K, V>(): Map_2<K, V>;
|
|
334
|
-
new<K, V>(entries:
|
|
373
|
+
new<K, V>(entries: IEnumerable_1<ValueTuple_2<K, V>>): Map_2<K, V>;
|
|
335
374
|
};
|
|
336
375
|
|
|
337
376
|
|
|
338
377
|
export type Map_2<K, V> = Map_2$instance<K, V>;
|
|
339
378
|
|
|
340
379
|
export interface RegExp$instance {
|
|
380
|
+
readonly __tsonic_type_Tsonic_JSRuntime_RegExp: never;
|
|
381
|
+
|
|
341
382
|
readonly dotAll: boolean;
|
|
342
383
|
readonly flags: string;
|
|
343
384
|
readonly global: boolean;
|
|
@@ -362,10 +403,12 @@ export const RegExp: {
|
|
|
362
403
|
export type RegExp = RegExp$instance;
|
|
363
404
|
|
|
364
405
|
export interface RegExpMatchResult$instance {
|
|
406
|
+
readonly __tsonic_type_Tsonic_JSRuntime_RegExpMatchResult: never;
|
|
407
|
+
|
|
365
408
|
readonly groups: (string | undefined)[];
|
|
366
409
|
readonly index: int;
|
|
367
410
|
readonly input: string;
|
|
368
|
-
readonly
|
|
411
|
+
readonly [groupIndex: number]: string | undefined;
|
|
369
412
|
readonly length: int;
|
|
370
413
|
readonly value: string;
|
|
371
414
|
}
|
|
@@ -379,57 +422,67 @@ export const RegExpMatchResult: {
|
|
|
379
422
|
export type RegExpMatchResult = RegExpMatchResult$instance;
|
|
380
423
|
|
|
381
424
|
export interface Set_1$instance<T> {
|
|
425
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Set_1: never;
|
|
426
|
+
|
|
427
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
428
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
429
|
+
|
|
382
430
|
readonly size: int;
|
|
383
431
|
add(value: T): Set_1<T>;
|
|
384
432
|
clear(): void;
|
|
385
433
|
delete(value: T): boolean;
|
|
386
434
|
difference(other: Set_1<T>): Set_1<T>;
|
|
387
|
-
entries():
|
|
388
|
-
forEach(callback:
|
|
389
|
-
forEach(callback:
|
|
390
|
-
forEach(callback:
|
|
391
|
-
GetEnumerator():
|
|
435
|
+
entries(): IEnumerable_1<ValueTuple_2<T, T>>;
|
|
436
|
+
forEach(callback: Action_3<T, T, Set_1<T>>): void;
|
|
437
|
+
forEach(callback: Action_2<T, T>): void;
|
|
438
|
+
forEach(callback: Action_1<T>): void;
|
|
439
|
+
GetEnumerator(): IEnumerator_1<T>;
|
|
392
440
|
has(value: T): boolean;
|
|
393
441
|
intersection(other: Set_1<T>): Set_1<T>;
|
|
394
442
|
isDisjointFrom(other: Set_1<T>): boolean;
|
|
395
443
|
isSubsetOf(other: Set_1<T>): boolean;
|
|
396
444
|
isSupersetOf(other: Set_1<T>): boolean;
|
|
397
|
-
keys():
|
|
445
|
+
keys(): IEnumerable_1<T>;
|
|
398
446
|
symmetricDifference(other: Set_1<T>): Set_1<T>;
|
|
399
447
|
union(other: Set_1<T>): Set_1<T>;
|
|
400
|
-
values():
|
|
448
|
+
values(): IEnumerable_1<T>;
|
|
401
449
|
}
|
|
402
450
|
|
|
403
451
|
|
|
404
452
|
export const Set_1: {
|
|
405
453
|
new<T>(): Set_1<T>;
|
|
406
|
-
new<T>(values:
|
|
454
|
+
new<T>(values: IEnumerable_1<T>): Set_1<T>;
|
|
407
455
|
};
|
|
408
456
|
|
|
409
457
|
|
|
410
458
|
export type Set_1<T> = Set_1$instance<T>;
|
|
411
459
|
|
|
412
460
|
export interface Uint16Array$instance {
|
|
461
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Uint16Array: never;
|
|
462
|
+
|
|
463
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
464
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
465
|
+
|
|
413
466
|
readonly byteLength: int;
|
|
414
|
-
|
|
467
|
+
[index: number]: ushort;
|
|
415
468
|
readonly length: int;
|
|
416
|
-
at(index: int):
|
|
417
|
-
fill(value: ushort, start?: int, end?:
|
|
418
|
-
GetEnumerator():
|
|
469
|
+
at(index: int): Nullable_1<System_Internal.UInt16>;
|
|
470
|
+
fill(value: ushort, start?: int, end?: Nullable_1<System_Internal.Int32>): Uint16Array;
|
|
471
|
+
GetEnumerator(): IEnumerator_1<System_Internal.UInt16>;
|
|
419
472
|
includes(value: ushort, fromIndex?: int): boolean;
|
|
420
473
|
indexOf(value: ushort, fromIndex?: int): int;
|
|
421
474
|
join(separator?: string): string;
|
|
422
475
|
reverse(): Uint16Array;
|
|
423
|
-
set(array:
|
|
424
|
-
slice(begin?: int, end?:
|
|
425
|
-
sort(compareFn?:
|
|
426
|
-
subarray(begin?: int, end?:
|
|
476
|
+
set(array: IEnumerable_1<System_Internal.UInt16>, offset?: int): void;
|
|
477
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint16Array;
|
|
478
|
+
sort(compareFn?: Comparison_1<System_Internal.UInt16>): Uint16Array;
|
|
479
|
+
subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint16Array;
|
|
427
480
|
}
|
|
428
481
|
|
|
429
482
|
|
|
430
483
|
export const Uint16Array: {
|
|
431
484
|
new(length: int): Uint16Array;
|
|
432
|
-
new(values:
|
|
485
|
+
new(values: IEnumerable_1<System_Internal.UInt16>): Uint16Array;
|
|
433
486
|
new(values: ushort[]): Uint16Array;
|
|
434
487
|
readonly BYTES_PER_ELEMENT: int;
|
|
435
488
|
};
|
|
@@ -438,26 +491,31 @@ export const Uint16Array: {
|
|
|
438
491
|
export type Uint16Array = Uint16Array$instance;
|
|
439
492
|
|
|
440
493
|
export interface Uint32Array$instance {
|
|
494
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Uint32Array: never;
|
|
495
|
+
|
|
496
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
497
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
498
|
+
|
|
441
499
|
readonly byteLength: int;
|
|
442
|
-
|
|
500
|
+
[index: number]: uint;
|
|
443
501
|
readonly length: int;
|
|
444
|
-
at(index: int):
|
|
445
|
-
fill(value: uint, start?: int, end?:
|
|
446
|
-
GetEnumerator():
|
|
502
|
+
at(index: int): Nullable_1<System_Internal.UInt32>;
|
|
503
|
+
fill(value: uint, start?: int, end?: Nullable_1<System_Internal.Int32>): Uint32Array;
|
|
504
|
+
GetEnumerator(): IEnumerator_1<System_Internal.UInt32>;
|
|
447
505
|
includes(value: uint, fromIndex?: int): boolean;
|
|
448
506
|
indexOf(value: uint, fromIndex?: int): int;
|
|
449
507
|
join(separator?: string): string;
|
|
450
508
|
reverse(): Uint32Array;
|
|
451
|
-
set(array:
|
|
452
|
-
slice(begin?: int, end?:
|
|
453
|
-
sort(compareFn?:
|
|
454
|
-
subarray(begin?: int, end?:
|
|
509
|
+
set(array: IEnumerable_1<System_Internal.UInt32>, offset?: int): void;
|
|
510
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint32Array;
|
|
511
|
+
sort(compareFn?: Comparison_1<System_Internal.UInt32>): Uint32Array;
|
|
512
|
+
subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint32Array;
|
|
455
513
|
}
|
|
456
514
|
|
|
457
515
|
|
|
458
516
|
export const Uint32Array: {
|
|
459
517
|
new(length: int): Uint32Array;
|
|
460
|
-
new(values:
|
|
518
|
+
new(values: IEnumerable_1<System_Internal.UInt32>): Uint32Array;
|
|
461
519
|
new(values: uint[]): Uint32Array;
|
|
462
520
|
readonly BYTES_PER_ELEMENT: int;
|
|
463
521
|
};
|
|
@@ -466,26 +524,31 @@ export const Uint32Array: {
|
|
|
466
524
|
export type Uint32Array = Uint32Array$instance;
|
|
467
525
|
|
|
468
526
|
export interface Uint8Array$instance {
|
|
527
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Uint8Array: never;
|
|
528
|
+
|
|
529
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
530
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
531
|
+
|
|
469
532
|
readonly byteLength: int;
|
|
470
|
-
|
|
533
|
+
[index: number]: byte;
|
|
471
534
|
readonly length: int;
|
|
472
|
-
at(index: int):
|
|
473
|
-
fill(value: byte, start?: int, end?:
|
|
474
|
-
GetEnumerator():
|
|
535
|
+
at(index: int): Nullable_1<System_Internal.Byte>;
|
|
536
|
+
fill(value: byte, start?: int, end?: Nullable_1<System_Internal.Int32>): Uint8Array;
|
|
537
|
+
GetEnumerator(): IEnumerator_1<System_Internal.Byte>;
|
|
475
538
|
includes(value: byte, fromIndex?: int): boolean;
|
|
476
539
|
indexOf(value: byte, fromIndex?: int): int;
|
|
477
540
|
join(separator?: string): string;
|
|
478
541
|
reverse(): Uint8Array;
|
|
479
|
-
set(array:
|
|
480
|
-
slice(begin?: int, end?:
|
|
481
|
-
sort(compareFn?:
|
|
482
|
-
subarray(begin?: int, end?:
|
|
542
|
+
set(array: IEnumerable_1<System_Internal.Byte>, offset?: int): void;
|
|
543
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint8Array;
|
|
544
|
+
sort(compareFn?: Comparison_1<System_Internal.Byte>): Uint8Array;
|
|
545
|
+
subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint8Array;
|
|
483
546
|
}
|
|
484
547
|
|
|
485
548
|
|
|
486
549
|
export const Uint8Array: {
|
|
487
550
|
new(length: int): Uint8Array;
|
|
488
|
-
new(values:
|
|
551
|
+
new(values: IEnumerable_1<System_Internal.Byte>): Uint8Array;
|
|
489
552
|
new(values: byte[]): Uint8Array;
|
|
490
553
|
readonly BYTES_PER_ELEMENT: int;
|
|
491
554
|
};
|
|
@@ -494,27 +557,32 @@ export const Uint8Array: {
|
|
|
494
557
|
export type Uint8Array = Uint8Array$instance;
|
|
495
558
|
|
|
496
559
|
export interface Uint8ClampedArray$instance {
|
|
560
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Uint8ClampedArray: never;
|
|
561
|
+
|
|
562
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
563
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
564
|
+
|
|
497
565
|
readonly byteLength: int;
|
|
498
|
-
|
|
566
|
+
[index: number]: byte;
|
|
499
567
|
readonly length: int;
|
|
500
|
-
at(index: int):
|
|
501
|
-
fill(value: byte, start?: int, end?:
|
|
502
|
-
GetEnumerator():
|
|
568
|
+
at(index: int): Nullable_1<System_Internal.Byte>;
|
|
569
|
+
fill(value: byte, start?: int, end?: Nullable_1<System_Internal.Int32>): Uint8ClampedArray;
|
|
570
|
+
GetEnumerator(): IEnumerator_1<System_Internal.Byte>;
|
|
503
571
|
includes(value: byte, fromIndex?: int): boolean;
|
|
504
572
|
indexOf(value: byte, fromIndex?: int): int;
|
|
505
573
|
join(separator?: string): string;
|
|
506
574
|
reverse(): Uint8ClampedArray;
|
|
507
|
-
set(array:
|
|
575
|
+
set(array: IEnumerable_1<System_Internal.Byte>, offset?: int): void;
|
|
508
576
|
SetClamped(index: int, value: int): void;
|
|
509
|
-
slice(begin?: int, end?:
|
|
510
|
-
sort(compareFn?:
|
|
511
|
-
subarray(begin?: int, end?:
|
|
577
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint8ClampedArray;
|
|
578
|
+
sort(compareFn?: Comparison_1<System_Internal.Byte>): Uint8ClampedArray;
|
|
579
|
+
subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint8ClampedArray;
|
|
512
580
|
}
|
|
513
581
|
|
|
514
582
|
|
|
515
583
|
export const Uint8ClampedArray: {
|
|
516
584
|
new(length: int): Uint8ClampedArray;
|
|
517
|
-
new(values:
|
|
585
|
+
new(values: IEnumerable_1<System_Internal.Byte>): Uint8ClampedArray;
|
|
518
586
|
new(values: byte[]): Uint8ClampedArray;
|
|
519
587
|
readonly BYTES_PER_ELEMENT: int;
|
|
520
588
|
};
|
|
@@ -523,6 +591,8 @@ export const Uint8ClampedArray: {
|
|
|
523
591
|
export type Uint8ClampedArray = Uint8ClampedArray$instance;
|
|
524
592
|
|
|
525
593
|
export interface WeakMap_2$instance<K, V> {
|
|
594
|
+
readonly __tsonic_type_Tsonic_JSRuntime_WeakMap_2: never;
|
|
595
|
+
|
|
526
596
|
delete(key: K): boolean;
|
|
527
597
|
get(key: K): V | undefined;
|
|
528
598
|
has(key: K): boolean;
|
|
@@ -538,6 +608,8 @@ export const WeakMap_2: {
|
|
|
538
608
|
export type WeakMap_2<K, V> = WeakMap_2$instance<K, V>;
|
|
539
609
|
|
|
540
610
|
export interface WeakSet_1$instance<T> {
|
|
611
|
+
readonly __tsonic_type_Tsonic_JSRuntime_WeakSet_1: never;
|
|
612
|
+
|
|
541
613
|
add(value: T): WeakSet_1<T>;
|
|
542
614
|
delete(value: T): boolean;
|
|
543
615
|
has(value: T): boolean;
|
|
@@ -589,7 +661,7 @@ export abstract class Globals$instance {
|
|
|
589
661
|
static isNaN(value: double): boolean;
|
|
590
662
|
static Number(value: unknown): double;
|
|
591
663
|
static parseFloat(str: string): double;
|
|
592
|
-
static parseInt(str: string, radix?:
|
|
664
|
+
static parseInt(str: string, radix?: Nullable_1<System_Internal.Int32>): Nullable_1<System_Internal.Int64>;
|
|
593
665
|
static String(value: unknown): string;
|
|
594
666
|
}
|
|
595
667
|
|
|
@@ -668,7 +740,7 @@ export abstract class Number$instance {
|
|
|
668
740
|
static isNaN(value: double): boolean;
|
|
669
741
|
static isSafeInteger(value: double): boolean;
|
|
670
742
|
static parseFloat(str: string): double;
|
|
671
|
-
static parseInt(str: string, radix?:
|
|
743
|
+
static parseInt(str: string, radix?: Nullable_1<System_Internal.Int32>): Nullable_1<System_Internal.Int64>;
|
|
672
744
|
}
|
|
673
745
|
|
|
674
746
|
|
|
@@ -686,24 +758,24 @@ export abstract class String$instance {
|
|
|
686
758
|
static includes(str: string, searchString: string): boolean;
|
|
687
759
|
static indexOf(str: string, searchString: string, position?: int): int;
|
|
688
760
|
static isWellFormed(str: string): boolean;
|
|
689
|
-
static lastIndexOf(str: string, searchString: string, position?:
|
|
761
|
+
static lastIndexOf(str: string, searchString: string, position?: Nullable_1<System_Internal.Int32>): int;
|
|
690
762
|
static length(str: string): int;
|
|
691
763
|
static localeCompare(str: string, compareString: string): int;
|
|
692
|
-
static match(str: string, pattern: string):
|
|
693
|
-
static matchAll(str: string, pattern: string):
|
|
764
|
+
static match(str: string, pattern: string): List_1<System_Internal.String> | undefined;
|
|
765
|
+
static matchAll(str: string, pattern: string): List_1<List_1<System_Internal.String>>;
|
|
694
766
|
static normalize(str: string, form?: string): string;
|
|
695
767
|
static padEnd(str: string, targetLength: int, padString?: string): string;
|
|
696
768
|
static padStart(str: string, targetLength: int, padString?: string): string;
|
|
697
|
-
static raw(template:
|
|
769
|
+
static raw(template: List_1<System_Internal.String>, ...substitutions: unknown[]): string;
|
|
698
770
|
static repeat(str: string, count: int): string;
|
|
699
771
|
static replace(str: string, search: string, replacement: string): string;
|
|
700
772
|
static replaceAll(str: string, search: string, replacement: string): string;
|
|
701
773
|
static search(str: string, pattern: string): int;
|
|
702
|
-
static slice(str: string, start: int, end?:
|
|
703
|
-
static split(str: string, separator: string, limit?:
|
|
774
|
+
static slice(str: string, start: int, end?: Nullable_1<System_Internal.Int32>): string;
|
|
775
|
+
static split(str: string, separator: string, limit?: Nullable_1<System_Internal.Int32>): List_1<System_Internal.String>;
|
|
704
776
|
static startsWith(str: string, searchString: string): boolean;
|
|
705
|
-
static substr(str: string, start: int, length?:
|
|
706
|
-
static substring(str: string, start: int, end?:
|
|
777
|
+
static substr(str: string, start: int, length?: Nullable_1<System_Internal.Int32>): string;
|
|
778
|
+
static substring(str: string, start: int, end?: Nullable_1<System_Internal.Int32>): string;
|
|
707
779
|
static toLocaleLowerCase(str: string): string;
|
|
708
780
|
static toLocaleUpperCase(str: string): string;
|
|
709
781
|
static toLowerCase(str: string): string;
|
|
@@ -724,9 +796,9 @@ export type String = String$instance;
|
|
|
724
796
|
export abstract class Timers$instance {
|
|
725
797
|
static clearInterval(id: int): void;
|
|
726
798
|
static clearTimeout(id: int): void;
|
|
727
|
-
static setInterval<T>(callback:
|
|
799
|
+
static setInterval<T>(callback: Action_1<T>, intervalMs: int, arg: T): int;
|
|
728
800
|
static setInterval(callback: Action, intervalMs: int): int;
|
|
729
|
-
static setTimeout<T>(callback:
|
|
801
|
+
static setTimeout<T>(callback: Action_1<T>, delayMs: int, arg: T): int;
|
|
730
802
|
static setTimeout(callback: Action, delayMs?: int): int;
|
|
731
803
|
}
|
|
732
804
|
|