@tsonic/js 10.0.40 → 10.0.42
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 +81 -0
- package/bindings.json +42 -6
- package/core-globals.d.ts +1 -0
- package/globals.d.ts +52 -31
- package/index/bindings.json +10776 -0
- package/index/internal/index.d.ts +870 -0
- package/index.d.ts +4 -2
- package/package.json +6 -8
- package/tsonic.bindings.json +2 -1
|
@@ -0,0 +1,870 @@
|
|
|
1
|
+
// Generated by tsbindgen - Architecture
|
|
2
|
+
// Namespace: Tsonic.JSRuntime
|
|
3
|
+
// Assembly: Tsonic.JSRuntime
|
|
4
|
+
|
|
5
|
+
// Primitive type aliases from @tsonic/core
|
|
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
|
+
|
|
8
|
+
// Import types from other namespaces
|
|
9
|
+
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
10
|
+
import type { IEnumerable_1, IEnumerator_1, 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_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
14
|
+
import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization/internal/index.js";
|
|
15
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
16
|
+
import type { Action, Action_1, Action_2, Action_3, Boolean as ClrBoolean, Byte, Comparison_1, Double, Exception, 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";
|
|
17
|
+
|
|
18
|
+
export interface ArrayBuffer$instance {
|
|
19
|
+
readonly __tsonic_type_Tsonic_JSRuntime_ArrayBuffer: never;
|
|
20
|
+
|
|
21
|
+
readonly byteLength: int;
|
|
22
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): ArrayBuffer;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
export const ArrayBuffer: {
|
|
27
|
+
new(byteLength: int): ArrayBuffer;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
export type ArrayBuffer = ArrayBuffer$instance;
|
|
32
|
+
|
|
33
|
+
export interface Date$instance {
|
|
34
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Date: never;
|
|
35
|
+
|
|
36
|
+
getDate(): int;
|
|
37
|
+
getDay(): int;
|
|
38
|
+
getFullYear(): int;
|
|
39
|
+
getHours(): int;
|
|
40
|
+
getMilliseconds(): int;
|
|
41
|
+
getMinutes(): int;
|
|
42
|
+
getMonth(): int;
|
|
43
|
+
getSeconds(): int;
|
|
44
|
+
getTime(): long;
|
|
45
|
+
getTimezoneOffset(): int;
|
|
46
|
+
getUTCDate(): int;
|
|
47
|
+
getUTCDay(): int;
|
|
48
|
+
getUTCFullYear(): int;
|
|
49
|
+
getUTCHours(): int;
|
|
50
|
+
getUTCMilliseconds(): int;
|
|
51
|
+
getUTCMinutes(): int;
|
|
52
|
+
getUTCMonth(): int;
|
|
53
|
+
getUTCSeconds(): int;
|
|
54
|
+
setDate(day: int): double;
|
|
55
|
+
setFullYear(year: int, month?: Nullable_1<System_Internal.Int32>, day?: Nullable_1<System_Internal.Int32>): double;
|
|
56
|
+
setHours(hour: int, min?: Nullable_1<System_Internal.Int32>, sec?: Nullable_1<System_Internal.Int32>, ms?: Nullable_1<System_Internal.Int32>): double;
|
|
57
|
+
setMilliseconds(ms: int): double;
|
|
58
|
+
setMinutes(min: int, sec?: Nullable_1<System_Internal.Int32>, ms?: Nullable_1<System_Internal.Int32>): double;
|
|
59
|
+
setMonth(month: int, day?: Nullable_1<System_Internal.Int32>): double;
|
|
60
|
+
setSeconds(sec: int, ms?: Nullable_1<System_Internal.Int32>): double;
|
|
61
|
+
setTime(milliseconds: double): double;
|
|
62
|
+
setUTCDate(day: int): double;
|
|
63
|
+
setUTCFullYear(year: int, month?: Nullable_1<System_Internal.Int32>, day?: Nullable_1<System_Internal.Int32>): double;
|
|
64
|
+
setUTCHours(hour: int, min?: Nullable_1<System_Internal.Int32>, sec?: Nullable_1<System_Internal.Int32>, ms?: Nullable_1<System_Internal.Int32>): double;
|
|
65
|
+
setUTCMilliseconds(ms: int): double;
|
|
66
|
+
setUTCMinutes(min: int, sec?: Nullable_1<System_Internal.Int32>, ms?: Nullable_1<System_Internal.Int32>): double;
|
|
67
|
+
setUTCMonth(month: int, day?: Nullable_1<System_Internal.Int32>): double;
|
|
68
|
+
setUTCSeconds(sec: int, ms?: Nullable_1<System_Internal.Int32>): double;
|
|
69
|
+
toDateString(): string;
|
|
70
|
+
toISOString(): string;
|
|
71
|
+
toJSON(): string;
|
|
72
|
+
toLocaleDateString(): string;
|
|
73
|
+
toLocaleString(): string;
|
|
74
|
+
toLocaleTimeString(): string;
|
|
75
|
+
ToString(): string;
|
|
76
|
+
toTimeString(): string;
|
|
77
|
+
toUTCString(): string;
|
|
78
|
+
valueOf(): long;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
export const Date: {
|
|
83
|
+
new(): Date;
|
|
84
|
+
new(milliseconds: double): Date;
|
|
85
|
+
new(dateString: string): Date;
|
|
86
|
+
new(year: int, month: int, day: int, hours: int, minutes: int, seconds: int, milliseconds: int): Date;
|
|
87
|
+
now(): long;
|
|
88
|
+
parse(dateString: string): double;
|
|
89
|
+
UTC(year: int, month: int, day?: int, hours?: int, minutes?: int, seconds?: int, milliseconds?: int): double;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
export type Date = Date$instance;
|
|
94
|
+
|
|
95
|
+
export interface Error$instance extends Exception {
|
|
96
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Error: never;
|
|
97
|
+
|
|
98
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
99
|
+
|
|
100
|
+
readonly message: string;
|
|
101
|
+
readonly name: string;
|
|
102
|
+
readonly stack: string | undefined;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
export const Error: {
|
|
107
|
+
new(): Error;
|
|
108
|
+
new(message: string): Error;
|
|
109
|
+
new(message: string, innerException: Exception): Error;
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
export type Error = Error$instance;
|
|
114
|
+
|
|
115
|
+
export interface Float32Array$instance {
|
|
116
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Float32Array: never;
|
|
117
|
+
|
|
118
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
119
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
120
|
+
|
|
121
|
+
readonly byteLength: int;
|
|
122
|
+
readonly length: int;
|
|
123
|
+
at(index: int): Nullable_1<System_Internal.Single>;
|
|
124
|
+
fill(value: float, start?: int, end?: Nullable_1<System_Internal.Int32>): Float32Array;
|
|
125
|
+
GetEnumerator(): IEnumerator_1<System_Internal.Single>;
|
|
126
|
+
includes(value: float, fromIndex?: int): boolean;
|
|
127
|
+
indexOf(value: float, fromIndex?: int): int;
|
|
128
|
+
join(separator?: string): string;
|
|
129
|
+
reverse(): Float32Array;
|
|
130
|
+
set(array: IEnumerable_1<System_Internal.Single>, offset?: int): void;
|
|
131
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Float32Array;
|
|
132
|
+
sort(compareFn?: Comparison_1<System_Internal.Single>): Float32Array;
|
|
133
|
+
subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Float32Array;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
export const Float32Array: {
|
|
138
|
+
new(length: int): Float32Array;
|
|
139
|
+
new(values: IEnumerable_1<System_Internal.Single>): Float32Array;
|
|
140
|
+
new(values: float[]): Float32Array;
|
|
141
|
+
readonly BYTES_PER_ELEMENT: int;
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
export type Float32Array = Float32Array$instance & { [index: number]: float; };
|
|
146
|
+
|
|
147
|
+
export interface Float64Array$instance {
|
|
148
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Float64Array: never;
|
|
149
|
+
|
|
150
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
151
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
152
|
+
|
|
153
|
+
readonly byteLength: int;
|
|
154
|
+
readonly length: int;
|
|
155
|
+
at(index: int): Nullable_1<System_Internal.Double>;
|
|
156
|
+
fill(value: double, start?: int, end?: Nullable_1<System_Internal.Int32>): Float64Array;
|
|
157
|
+
GetEnumerator(): IEnumerator_1<System_Internal.Double>;
|
|
158
|
+
includes(value: double, fromIndex?: int): boolean;
|
|
159
|
+
indexOf(value: double, fromIndex?: int): int;
|
|
160
|
+
join(separator?: string): string;
|
|
161
|
+
reverse(): Float64Array;
|
|
162
|
+
set(array: IEnumerable_1<System_Internal.Double>, offset?: int): void;
|
|
163
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Float64Array;
|
|
164
|
+
sort(compareFn?: Comparison_1<System_Internal.Double>): Float64Array;
|
|
165
|
+
subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Float64Array;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
export const Float64Array: {
|
|
170
|
+
new(length: int): Float64Array;
|
|
171
|
+
new(values: IEnumerable_1<System_Internal.Double>): Float64Array;
|
|
172
|
+
new(values: double[]): Float64Array;
|
|
173
|
+
readonly BYTES_PER_ELEMENT: int;
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
export type Float64Array = Float64Array$instance & { [index: number]: double; };
|
|
178
|
+
|
|
179
|
+
export interface Int16Array$instance {
|
|
180
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Int16Array: never;
|
|
181
|
+
|
|
182
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
183
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
184
|
+
|
|
185
|
+
readonly byteLength: int;
|
|
186
|
+
readonly length: int;
|
|
187
|
+
at(index: int): Nullable_1<System_Internal.Int16>;
|
|
188
|
+
fill(value: short, start?: int, end?: Nullable_1<System_Internal.Int32>): Int16Array;
|
|
189
|
+
GetEnumerator(): IEnumerator_1<System_Internal.Int16>;
|
|
190
|
+
includes(value: short, fromIndex?: int): boolean;
|
|
191
|
+
indexOf(value: short, fromIndex?: int): int;
|
|
192
|
+
join(separator?: string): string;
|
|
193
|
+
reverse(): Int16Array;
|
|
194
|
+
set(array: IEnumerable_1<System_Internal.Int16>, offset?: int): void;
|
|
195
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Int16Array;
|
|
196
|
+
sort(compareFn?: Comparison_1<System_Internal.Int16>): Int16Array;
|
|
197
|
+
subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Int16Array;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
export const Int16Array: {
|
|
202
|
+
new(length: int): Int16Array;
|
|
203
|
+
new(values: IEnumerable_1<System_Internal.Int16>): Int16Array;
|
|
204
|
+
new(values: short[]): Int16Array;
|
|
205
|
+
readonly BYTES_PER_ELEMENT: int;
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
export type Int16Array = Int16Array$instance & { [index: number]: short; };
|
|
210
|
+
|
|
211
|
+
export interface Int32Array$instance {
|
|
212
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Int32Array: never;
|
|
213
|
+
|
|
214
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
215
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
216
|
+
|
|
217
|
+
readonly byteLength: int;
|
|
218
|
+
readonly length: int;
|
|
219
|
+
at(index: int): Nullable_1<System_Internal.Int32>;
|
|
220
|
+
fill(value: int, start?: int, end?: Nullable_1<System_Internal.Int32>): Int32Array;
|
|
221
|
+
GetEnumerator(): IEnumerator_1<System_Internal.Int32>;
|
|
222
|
+
includes(value: int, fromIndex?: int): boolean;
|
|
223
|
+
indexOf(value: int, fromIndex?: int): int;
|
|
224
|
+
join(separator?: string): string;
|
|
225
|
+
reverse(): Int32Array;
|
|
226
|
+
set(array: IEnumerable_1<System_Internal.Int32>, offset?: int): void;
|
|
227
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Int32Array;
|
|
228
|
+
sort(compareFn?: Comparison_1<System_Internal.Int32>): Int32Array;
|
|
229
|
+
subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Int32Array;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
export const Int32Array: {
|
|
234
|
+
new(length: int): Int32Array;
|
|
235
|
+
new(values: IEnumerable_1<System_Internal.Int32>): Int32Array;
|
|
236
|
+
new(values: int[]): Int32Array;
|
|
237
|
+
readonly BYTES_PER_ELEMENT: int;
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
export type Int32Array = Int32Array$instance & { [index: number]: int; };
|
|
242
|
+
|
|
243
|
+
export interface Int8Array$instance {
|
|
244
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Int8Array: never;
|
|
245
|
+
|
|
246
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
247
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
248
|
+
|
|
249
|
+
readonly byteLength: int;
|
|
250
|
+
readonly length: int;
|
|
251
|
+
at(index: int): Nullable_1<System_Internal.SByte>;
|
|
252
|
+
fill(value: sbyte, start?: int, end?: Nullable_1<System_Internal.Int32>): Int8Array;
|
|
253
|
+
GetEnumerator(): IEnumerator_1<System_Internal.SByte>;
|
|
254
|
+
includes(value: sbyte, fromIndex?: int): boolean;
|
|
255
|
+
indexOf(value: sbyte, fromIndex?: int): int;
|
|
256
|
+
join(separator?: string): string;
|
|
257
|
+
reverse(): Int8Array;
|
|
258
|
+
set(array: IEnumerable_1<System_Internal.SByte>, offset?: int): void;
|
|
259
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Int8Array;
|
|
260
|
+
sort(compareFn?: Comparison_1<System_Internal.SByte>): Int8Array;
|
|
261
|
+
subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Int8Array;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
export const Int8Array: {
|
|
266
|
+
new(length: int): Int8Array;
|
|
267
|
+
new(values: IEnumerable_1<System_Internal.SByte>): Int8Array;
|
|
268
|
+
new(values: sbyte[]): Int8Array;
|
|
269
|
+
readonly BYTES_PER_ELEMENT: int;
|
|
270
|
+
};
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
export type Int8Array = Int8Array$instance & { [index: number]: sbyte; };
|
|
274
|
+
|
|
275
|
+
export interface JSArray_1$instance<T> {
|
|
276
|
+
readonly __tsonic_type_Tsonic_JSRuntime_JSArray_1: never;
|
|
277
|
+
|
|
278
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
279
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
280
|
+
|
|
281
|
+
readonly length: int;
|
|
282
|
+
at(index: int): T;
|
|
283
|
+
concat(...items: unknown[]): JSArray_1<T>;
|
|
284
|
+
copyWithin(target: int, start?: int, end?: Nullable_1<System_Internal.Int32>): JSArray_1<T>;
|
|
285
|
+
entries(): IEnumerable_1<ValueTuple_2<System_Internal.Int32, T>>;
|
|
286
|
+
every(callback: Func_2<T, System_Internal.Boolean>): boolean;
|
|
287
|
+
every(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): boolean;
|
|
288
|
+
fill(value: T, start?: int, end?: Nullable_1<System_Internal.Int32>): JSArray_1<T>;
|
|
289
|
+
filter(callback: Func_2<T, System_Internal.Boolean>): JSArray_1<T>;
|
|
290
|
+
filter(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): JSArray_1<T>;
|
|
291
|
+
filter(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): JSArray_1<T>;
|
|
292
|
+
find(callback: Func_2<T, System_Internal.Boolean>): T;
|
|
293
|
+
find(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): T;
|
|
294
|
+
find(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): T;
|
|
295
|
+
findIndex(callback: Func_2<T, System_Internal.Boolean>): int;
|
|
296
|
+
findIndex(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): int;
|
|
297
|
+
findIndex(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): int;
|
|
298
|
+
findLast(callback: Func_2<T, System_Internal.Boolean>): T;
|
|
299
|
+
findLast(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): T;
|
|
300
|
+
findLast(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): T;
|
|
301
|
+
findLastIndex(callback: Func_2<T, System_Internal.Boolean>): int;
|
|
302
|
+
findLastIndex(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): int;
|
|
303
|
+
findLastIndex(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): int;
|
|
304
|
+
flat(depth?: int): JSArray_1<unknown>;
|
|
305
|
+
flatMap<TResult>(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, unknown>): JSArray_1<TResult>;
|
|
306
|
+
forEach(callback: Action_1<T>): void;
|
|
307
|
+
forEach(callback: Action_2<T, System_Internal.Int32>): void;
|
|
308
|
+
forEach(callback: Action_3<T, System_Internal.Int32, JSArray_1<T>>): void;
|
|
309
|
+
GetEnumerator(): IEnumerator_1<T>;
|
|
310
|
+
includes(searchElement: T): boolean;
|
|
311
|
+
indexOf(searchElement: T, fromIndex?: int): int;
|
|
312
|
+
join(separator?: string): string;
|
|
313
|
+
keys(): IEnumerable_1<System_Internal.Int32>;
|
|
314
|
+
lastIndexOf(searchElement: T, fromIndex?: Nullable_1<System_Internal.Int32>): int;
|
|
315
|
+
map<TResult>(callback: Func_2<T, TResult>): JSArray_1<TResult>;
|
|
316
|
+
map<TResult>(callback: Func_3<T, System_Internal.Int32, TResult>): JSArray_1<TResult>;
|
|
317
|
+
map<TResult>(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, TResult>): JSArray_1<TResult>;
|
|
318
|
+
pop(): T;
|
|
319
|
+
push(item: T): int;
|
|
320
|
+
push(...items: T[]): int;
|
|
321
|
+
reduce<TResult>(callback: Func_3<TResult, T, TResult>, initialValue: TResult): TResult;
|
|
322
|
+
reduce<TResult>(callback: Func_4<TResult, T, System_Internal.Int32, TResult>, initialValue: TResult): TResult;
|
|
323
|
+
reduce<TResult>(callback: Func_5<TResult, T, System_Internal.Int32, JSArray_1<T>, TResult>, initialValue: TResult): TResult;
|
|
324
|
+
reduce(callback: Func_3<T, T, T>): T;
|
|
325
|
+
reduceRight<TResult>(callback: Func_3<TResult, T, TResult>, initialValue: TResult): TResult;
|
|
326
|
+
reduceRight<TResult>(callback: Func_4<TResult, T, System_Internal.Int32, TResult>, initialValue: TResult): TResult;
|
|
327
|
+
reduceRight<TResult>(callback: Func_5<TResult, T, System_Internal.Int32, JSArray_1<T>, TResult>, initialValue: TResult): TResult;
|
|
328
|
+
reverse(): JSArray_1<T>;
|
|
329
|
+
setLength(newLength: int): void;
|
|
330
|
+
shift(): T;
|
|
331
|
+
slice(start?: int, end?: Nullable_1<System_Internal.Int32>): JSArray_1<T>;
|
|
332
|
+
some(callback: Func_2<T, System_Internal.Boolean>): boolean;
|
|
333
|
+
some(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): boolean;
|
|
334
|
+
sort(compareFunc?: Func_3<T, T, System_Internal.Double>): JSArray_1<T>;
|
|
335
|
+
splice(start: int, deleteCount?: Nullable_1<System_Internal.Int32>, ...items: T[]): JSArray_1<T>;
|
|
336
|
+
toArray(): T[];
|
|
337
|
+
toList(): List_1<T>;
|
|
338
|
+
toLocaleString(): string;
|
|
339
|
+
toReversed(): JSArray_1<T>;
|
|
340
|
+
toSorted(compareFunc?: Func_3<T, T, System_Internal.Double>): JSArray_1<T>;
|
|
341
|
+
toSpliced(start: int, deleteCount?: Nullable_1<System_Internal.Int32>, ...items: T[]): JSArray_1<T>;
|
|
342
|
+
ToString(): string;
|
|
343
|
+
unshift(item: T): int;
|
|
344
|
+
unshift(...items: T[]): int;
|
|
345
|
+
values(): IEnumerable_1<T>;
|
|
346
|
+
with(index: int, value: T): JSArray_1<T>;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
export const JSArray_1: {
|
|
351
|
+
new<T>(): JSArray_1<T>;
|
|
352
|
+
new<T>(capacity: int): JSArray_1<T>;
|
|
353
|
+
new<T>(source: T[]): JSArray_1<T>;
|
|
354
|
+
new<T>(source: List_1<T>): JSArray_1<T>;
|
|
355
|
+
new<T>(source: IEnumerable_1<T>): JSArray_1<T>;
|
|
356
|
+
from<T, TSource, TResult>(iterable: IEnumerable_1<TSource>, mapFunc: Func_2<TSource, TResult>): JSArray_1<TResult>;
|
|
357
|
+
from<T, TSource, TResult>(iterable: IEnumerable_1<TSource>, mapFunc: Func_3<TSource, System_Internal.Int32, TResult>): JSArray_1<TResult>;
|
|
358
|
+
from<T>(iterable: IEnumerable_1<T>): JSArray_1<T>;
|
|
359
|
+
isArray<T>(value: unknown): boolean;
|
|
360
|
+
of<T>(...items: T[]): JSArray_1<T>;
|
|
361
|
+
};
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
export type JSArray_1<T> = JSArray_1$instance<T> & { [index: number]: T; };
|
|
365
|
+
|
|
366
|
+
export interface Map_2$instance<K, V> {
|
|
367
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Map_2: never;
|
|
368
|
+
|
|
369
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
370
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
371
|
+
|
|
372
|
+
readonly size: int;
|
|
373
|
+
clear(): void;
|
|
374
|
+
delete(key: K): boolean;
|
|
375
|
+
entries(): IEnumerable_1<ValueTuple_2<K, V>>;
|
|
376
|
+
forEach(callback: Action_3<V, K, Map_2<K, V>>): void;
|
|
377
|
+
forEach(callback: Action_2<V, K>): void;
|
|
378
|
+
forEach(callback: Action_1<V>): void;
|
|
379
|
+
get(key: K): V | undefined;
|
|
380
|
+
GetEnumerator(): IEnumerator_1<ValueTuple_2<K, V>>;
|
|
381
|
+
has(key: K): boolean;
|
|
382
|
+
keys(): IEnumerable_1<K>;
|
|
383
|
+
set(key: K, value: V): Map_2<K, V>;
|
|
384
|
+
values(): IEnumerable_1<V>;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
export const Map_2: {
|
|
389
|
+
new<K, V>(): Map_2<K, V>;
|
|
390
|
+
new<K, V>(entries: IEnumerable_1<ValueTuple_2<K, V>>): Map_2<K, V>;
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
export type Map_2<K, V> = Map_2$instance<K, V>;
|
|
395
|
+
|
|
396
|
+
export interface RangeError$instance extends Error {
|
|
397
|
+
readonly __tsonic_type_Tsonic_JSRuntime_RangeError: never;
|
|
398
|
+
|
|
399
|
+
readonly __tsonic_iface_System_Runtime_Serialization_ISerializable: never;
|
|
400
|
+
|
|
401
|
+
readonly name: string;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
export const RangeError: {
|
|
406
|
+
new(): RangeError;
|
|
407
|
+
new(message: string): RangeError;
|
|
408
|
+
new(message: string, innerException: Exception): RangeError;
|
|
409
|
+
};
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
export type RangeError = RangeError$instance;
|
|
413
|
+
|
|
414
|
+
export interface RegExp$instance {
|
|
415
|
+
readonly __tsonic_type_Tsonic_JSRuntime_RegExp: never;
|
|
416
|
+
|
|
417
|
+
readonly dotAll: boolean;
|
|
418
|
+
readonly flags: string;
|
|
419
|
+
readonly global: boolean;
|
|
420
|
+
readonly ignoreCase: boolean;
|
|
421
|
+
lastIndex: int;
|
|
422
|
+
readonly multiline: boolean;
|
|
423
|
+
readonly source: string;
|
|
424
|
+
readonly sticky: boolean;
|
|
425
|
+
readonly unicode: boolean;
|
|
426
|
+
exec(str: string): RegExpMatchResult | undefined;
|
|
427
|
+
test(str: string): boolean;
|
|
428
|
+
ToString(): string;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
export const RegExp: {
|
|
433
|
+
new(pattern: string): RegExp;
|
|
434
|
+
new(pattern: string, flags: string): RegExp;
|
|
435
|
+
};
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
export type RegExp = RegExp$instance;
|
|
439
|
+
|
|
440
|
+
export interface RegExpMatchResult$instance {
|
|
441
|
+
readonly __tsonic_type_Tsonic_JSRuntime_RegExpMatchResult: never;
|
|
442
|
+
|
|
443
|
+
readonly groups: (string | undefined)[];
|
|
444
|
+
readonly index: int;
|
|
445
|
+
readonly input: string;
|
|
446
|
+
readonly length: int;
|
|
447
|
+
readonly value: string;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
export const RegExpMatchResult: {
|
|
452
|
+
new(value: string, index: int, input: string, groups: string[]): RegExpMatchResult;
|
|
453
|
+
};
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
export type RegExpMatchResult = RegExpMatchResult$instance & { readonly [groupIndex: number]: string | undefined; };
|
|
457
|
+
|
|
458
|
+
export interface Set_1$instance<T> {
|
|
459
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Set_1: never;
|
|
460
|
+
|
|
461
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
462
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
463
|
+
|
|
464
|
+
readonly size: int;
|
|
465
|
+
add(value: T): Set_1<T>;
|
|
466
|
+
clear(): void;
|
|
467
|
+
delete(value: T): boolean;
|
|
468
|
+
difference(other: Set_1<T>): Set_1<T>;
|
|
469
|
+
entries(): IEnumerable_1<ValueTuple_2<T, T>>;
|
|
470
|
+
forEach(callback: Action_3<T, T, Set_1<T>>): void;
|
|
471
|
+
forEach(callback: Action_2<T, T>): void;
|
|
472
|
+
forEach(callback: Action_1<T>): void;
|
|
473
|
+
GetEnumerator(): IEnumerator_1<T>;
|
|
474
|
+
has(value: T): boolean;
|
|
475
|
+
intersection(other: Set_1<T>): Set_1<T>;
|
|
476
|
+
isDisjointFrom(other: Set_1<T>): boolean;
|
|
477
|
+
isSubsetOf(other: Set_1<T>): boolean;
|
|
478
|
+
isSupersetOf(other: Set_1<T>): boolean;
|
|
479
|
+
keys(): IEnumerable_1<T>;
|
|
480
|
+
symmetricDifference(other: Set_1<T>): Set_1<T>;
|
|
481
|
+
union(other: Set_1<T>): Set_1<T>;
|
|
482
|
+
values(): IEnumerable_1<T>;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
export const Set_1: {
|
|
487
|
+
new<T>(): Set_1<T>;
|
|
488
|
+
new<T>(values: IEnumerable_1<T>): Set_1<T>;
|
|
489
|
+
};
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
export type Set_1<T> = Set_1$instance<T>;
|
|
493
|
+
|
|
494
|
+
export interface Uint16Array$instance {
|
|
495
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Uint16Array: never;
|
|
496
|
+
|
|
497
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
498
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
499
|
+
|
|
500
|
+
readonly byteLength: int;
|
|
501
|
+
readonly length: int;
|
|
502
|
+
at(index: int): Nullable_1<System_Internal.UInt16>;
|
|
503
|
+
fill(value: ushort, start?: int, end?: Nullable_1<System_Internal.Int32>): Uint16Array;
|
|
504
|
+
GetEnumerator(): IEnumerator_1<System_Internal.UInt16>;
|
|
505
|
+
includes(value: ushort, fromIndex?: int): boolean;
|
|
506
|
+
indexOf(value: ushort, fromIndex?: int): int;
|
|
507
|
+
join(separator?: string): string;
|
|
508
|
+
reverse(): Uint16Array;
|
|
509
|
+
set(array: IEnumerable_1<System_Internal.UInt16>, offset?: int): void;
|
|
510
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint16Array;
|
|
511
|
+
sort(compareFn?: Comparison_1<System_Internal.UInt16>): Uint16Array;
|
|
512
|
+
subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint16Array;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
export const Uint16Array: {
|
|
517
|
+
new(length: int): Uint16Array;
|
|
518
|
+
new(values: IEnumerable_1<System_Internal.UInt16>): Uint16Array;
|
|
519
|
+
new(values: ushort[]): Uint16Array;
|
|
520
|
+
readonly BYTES_PER_ELEMENT: int;
|
|
521
|
+
};
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
export type Uint16Array = Uint16Array$instance & { [index: number]: ushort; };
|
|
525
|
+
|
|
526
|
+
export interface Uint32Array$instance {
|
|
527
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Uint32Array: never;
|
|
528
|
+
|
|
529
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
530
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
531
|
+
|
|
532
|
+
readonly byteLength: int;
|
|
533
|
+
readonly length: int;
|
|
534
|
+
at(index: int): Nullable_1<System_Internal.UInt32>;
|
|
535
|
+
fill(value: uint, start?: int, end?: Nullable_1<System_Internal.Int32>): Uint32Array;
|
|
536
|
+
GetEnumerator(): IEnumerator_1<System_Internal.UInt32>;
|
|
537
|
+
includes(value: uint, fromIndex?: int): boolean;
|
|
538
|
+
indexOf(value: uint, fromIndex?: int): int;
|
|
539
|
+
join(separator?: string): string;
|
|
540
|
+
reverse(): Uint32Array;
|
|
541
|
+
set(array: IEnumerable_1<System_Internal.UInt32>, offset?: int): void;
|
|
542
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint32Array;
|
|
543
|
+
sort(compareFn?: Comparison_1<System_Internal.UInt32>): Uint32Array;
|
|
544
|
+
subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint32Array;
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
export const Uint32Array: {
|
|
549
|
+
new(length: int): Uint32Array;
|
|
550
|
+
new(values: IEnumerable_1<System_Internal.UInt32>): Uint32Array;
|
|
551
|
+
new(values: uint[]): Uint32Array;
|
|
552
|
+
readonly BYTES_PER_ELEMENT: int;
|
|
553
|
+
};
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
export type Uint32Array = Uint32Array$instance & { [index: number]: uint; };
|
|
557
|
+
|
|
558
|
+
export interface Uint8Array$instance {
|
|
559
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Uint8Array: never;
|
|
560
|
+
|
|
561
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
562
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
563
|
+
|
|
564
|
+
readonly byteLength: int;
|
|
565
|
+
readonly length: int;
|
|
566
|
+
at(index: int): Nullable_1<System_Internal.Byte>;
|
|
567
|
+
fill(value: byte, start?: int, end?: Nullable_1<System_Internal.Int32>): Uint8Array;
|
|
568
|
+
GetEnumerator(): IEnumerator_1<System_Internal.Byte>;
|
|
569
|
+
includes(value: byte, fromIndex?: int): boolean;
|
|
570
|
+
indexOf(value: byte, fromIndex?: int): int;
|
|
571
|
+
join(separator?: string): string;
|
|
572
|
+
reverse(): Uint8Array;
|
|
573
|
+
set(array: IEnumerable_1<System_Internal.Byte>, offset?: int): void;
|
|
574
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint8Array;
|
|
575
|
+
sort(compareFn?: Comparison_1<System_Internal.Byte>): Uint8Array;
|
|
576
|
+
subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint8Array;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
export const Uint8Array: {
|
|
581
|
+
new(length: int): Uint8Array;
|
|
582
|
+
new(values: IEnumerable_1<System_Internal.Byte>): Uint8Array;
|
|
583
|
+
new(values: byte[]): Uint8Array;
|
|
584
|
+
readonly BYTES_PER_ELEMENT: int;
|
|
585
|
+
};
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
export type Uint8Array = Uint8Array$instance & { [index: number]: byte; };
|
|
589
|
+
|
|
590
|
+
export interface Uint8ClampedArray$instance {
|
|
591
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Uint8ClampedArray: never;
|
|
592
|
+
|
|
593
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
594
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
595
|
+
|
|
596
|
+
readonly byteLength: int;
|
|
597
|
+
readonly length: int;
|
|
598
|
+
at(index: int): Nullable_1<System_Internal.Byte>;
|
|
599
|
+
fill(value: byte, start?: int, end?: Nullable_1<System_Internal.Int32>): Uint8ClampedArray;
|
|
600
|
+
GetEnumerator(): IEnumerator_1<System_Internal.Byte>;
|
|
601
|
+
includes(value: byte, fromIndex?: int): boolean;
|
|
602
|
+
indexOf(value: byte, fromIndex?: int): int;
|
|
603
|
+
join(separator?: string): string;
|
|
604
|
+
reverse(): Uint8ClampedArray;
|
|
605
|
+
set(array: IEnumerable_1<System_Internal.Byte>, offset?: int): void;
|
|
606
|
+
SetClamped(index: int, value: int): void;
|
|
607
|
+
slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint8ClampedArray;
|
|
608
|
+
sort(compareFn?: Comparison_1<System_Internal.Byte>): Uint8ClampedArray;
|
|
609
|
+
subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint8ClampedArray;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
export const Uint8ClampedArray: {
|
|
614
|
+
new(length: int): Uint8ClampedArray;
|
|
615
|
+
new(values: IEnumerable_1<System_Internal.Byte>): Uint8ClampedArray;
|
|
616
|
+
new(values: byte[]): Uint8ClampedArray;
|
|
617
|
+
readonly BYTES_PER_ELEMENT: int;
|
|
618
|
+
};
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
export type Uint8ClampedArray = Uint8ClampedArray$instance & { [index: number]: byte; };
|
|
622
|
+
|
|
623
|
+
export interface WeakMap_2$instance<K, V> {
|
|
624
|
+
readonly __tsonic_type_Tsonic_JSRuntime_WeakMap_2: never;
|
|
625
|
+
|
|
626
|
+
delete(key: K): boolean;
|
|
627
|
+
get(key: K): V | undefined;
|
|
628
|
+
has(key: K): boolean;
|
|
629
|
+
set(key: K, value: V): WeakMap_2<K, V>;
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
export const WeakMap_2: {
|
|
634
|
+
new<K, V>(): WeakMap_2<K, V>;
|
|
635
|
+
};
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
export type WeakMap_2<K, V> = WeakMap_2$instance<K, V>;
|
|
639
|
+
|
|
640
|
+
export interface WeakSet_1$instance<T> {
|
|
641
|
+
readonly __tsonic_type_Tsonic_JSRuntime_WeakSet_1: never;
|
|
642
|
+
|
|
643
|
+
add(value: T): WeakSet_1<T>;
|
|
644
|
+
delete(value: T): boolean;
|
|
645
|
+
has(value: T): boolean;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
export const WeakSet_1: {
|
|
650
|
+
new<T>(): WeakSet_1<T>;
|
|
651
|
+
};
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
export type WeakSet_1<T> = WeakSet_1$instance<T>;
|
|
655
|
+
|
|
656
|
+
export abstract class console$instance {
|
|
657
|
+
static assert(condition: boolean, message?: string): void;
|
|
658
|
+
static clear(): void;
|
|
659
|
+
static count(label?: string): void;
|
|
660
|
+
static countReset(label?: string): void;
|
|
661
|
+
static debug(...data: unknown[]): void;
|
|
662
|
+
static dir(obj: unknown): void;
|
|
663
|
+
static dirxml(obj: unknown): void;
|
|
664
|
+
static error(...data: unknown[]): void;
|
|
665
|
+
static group(...data: unknown[]): void;
|
|
666
|
+
static groupCollapsed(...data: unknown[]): void;
|
|
667
|
+
static groupEnd(): void;
|
|
668
|
+
static info(...data: unknown[]): void;
|
|
669
|
+
static log(...data: unknown[]): void;
|
|
670
|
+
static table(data: unknown): void;
|
|
671
|
+
static time(label?: string): void;
|
|
672
|
+
static timeEnd(label?: string): void;
|
|
673
|
+
static timeLog(label?: string, ...data: unknown[]): void;
|
|
674
|
+
static trace(...data: unknown[]): void;
|
|
675
|
+
static warn(...data: unknown[]): void;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
export type console = console$instance;
|
|
680
|
+
|
|
681
|
+
export abstract class Globals$instance {
|
|
682
|
+
static readonly undefined: unknown | undefined;
|
|
683
|
+
static readonly Infinity: double;
|
|
684
|
+
static readonly NaN: double;
|
|
685
|
+
static Boolean(value: unknown): boolean;
|
|
686
|
+
static decodeURI(uri: string): string;
|
|
687
|
+
static decodeURIComponent(component: string): string;
|
|
688
|
+
static encodeURI(uri: string): string;
|
|
689
|
+
static encodeURIComponent(component: string): string;
|
|
690
|
+
static isFinite(value: double): boolean;
|
|
691
|
+
static isNaN(value: double): boolean;
|
|
692
|
+
static Number(value: unknown): double;
|
|
693
|
+
static parseFloat(str: string): double;
|
|
694
|
+
static parseInt(str: string, radix?: Nullable_1<System_Internal.Int32>): double;
|
|
695
|
+
static String(value: unknown): string;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
export type Globals = Globals$instance;
|
|
700
|
+
|
|
701
|
+
export abstract class JSArrayStatics$instance {
|
|
702
|
+
static from<TSource, TResult>(iterable: IEnumerable_1<TSource>, mapFunc: Func_2<TSource, TResult>): TResult[];
|
|
703
|
+
static from<TSource, TResult>(iterable: IEnumerable_1<TSource>, mapFunc: Func_3<TSource, System_Internal.Int32, TResult>): TResult[];
|
|
704
|
+
static from<T>(iterable: IEnumerable_1<T>): T[];
|
|
705
|
+
static from<TResult>(source: string, mapFunc: Func_2<System_Internal.String, TResult>): TResult[];
|
|
706
|
+
static from<TResult>(source: string, mapFunc: Func_3<System_Internal.String, System_Internal.Int32, TResult>): TResult[];
|
|
707
|
+
static from(source: string): string[];
|
|
708
|
+
static isArray(value: unknown): boolean;
|
|
709
|
+
static of<T>(...items: T[]): T[];
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
export type JSArrayStatics = JSArrayStatics$instance;
|
|
714
|
+
|
|
715
|
+
export abstract class JSON$instance {
|
|
716
|
+
static parse<T>(text: string): T;
|
|
717
|
+
static stringify(value: unknown): string;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
export type JSON = JSON$instance;
|
|
722
|
+
|
|
723
|
+
export abstract class Math$instance {
|
|
724
|
+
static readonly E: double;
|
|
725
|
+
static readonly PI: double;
|
|
726
|
+
static readonly LN2: double;
|
|
727
|
+
static readonly LN10: double;
|
|
728
|
+
static readonly LOG2E: double;
|
|
729
|
+
static readonly LOG10E: double;
|
|
730
|
+
static readonly SQRT1_2: double;
|
|
731
|
+
static readonly SQRT2: double;
|
|
732
|
+
static abs(x: double): double;
|
|
733
|
+
static acos(x: double): double;
|
|
734
|
+
static acosh(x: double): double;
|
|
735
|
+
static asin(x: double): double;
|
|
736
|
+
static asinh(x: double): double;
|
|
737
|
+
static atan(x: double): double;
|
|
738
|
+
static atan2(y: double, x: double): double;
|
|
739
|
+
static atanh(x: double): double;
|
|
740
|
+
static cbrt(x: double): double;
|
|
741
|
+
static ceil(x: double): long;
|
|
742
|
+
static clz32(x: int): int;
|
|
743
|
+
static cos(x: double): double;
|
|
744
|
+
static cosh(x: double): double;
|
|
745
|
+
static exp(x: double): double;
|
|
746
|
+
static expm1(x: double): double;
|
|
747
|
+
static f16round(x: double): double;
|
|
748
|
+
static floor(x: double): long;
|
|
749
|
+
static fround(x: double): double;
|
|
750
|
+
static hypot(...values: double[]): double;
|
|
751
|
+
static imul(a: int, b: int): int;
|
|
752
|
+
static log(x: double): double;
|
|
753
|
+
static log10(x: double): double;
|
|
754
|
+
static log1p(x: double): double;
|
|
755
|
+
static log2(x: double): double;
|
|
756
|
+
static max(...values: double[]): double;
|
|
757
|
+
static min(...values: double[]): double;
|
|
758
|
+
static pow(x: double, y: double): double;
|
|
759
|
+
static random(): double;
|
|
760
|
+
static round(x: double): long;
|
|
761
|
+
static sign(x: double): int;
|
|
762
|
+
static sin(x: double): double;
|
|
763
|
+
static sinh(x: double): double;
|
|
764
|
+
static sqrt(x: double): double;
|
|
765
|
+
static tan(x: double): double;
|
|
766
|
+
static tanh(x: double): double;
|
|
767
|
+
static trunc(x: double): long;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
export type Math = Math$instance;
|
|
772
|
+
|
|
773
|
+
export abstract class Number$instance {
|
|
774
|
+
static readonly MAX_VALUE: double;
|
|
775
|
+
static readonly MIN_VALUE: double;
|
|
776
|
+
static readonly MAX_SAFE_INTEGER: double;
|
|
777
|
+
static readonly MIN_SAFE_INTEGER: double;
|
|
778
|
+
static readonly POSITIVE_INFINITY: double;
|
|
779
|
+
static readonly NEGATIVE_INFINITY: double;
|
|
780
|
+
static readonly NaN: double;
|
|
781
|
+
static readonly EPSILON: double;
|
|
782
|
+
static isFinite(value: double): boolean;
|
|
783
|
+
static isInteger(value: double): boolean;
|
|
784
|
+
static isNaN(value: double): boolean;
|
|
785
|
+
static isSafeInteger(value: double): boolean;
|
|
786
|
+
static parseFloat(str: string): double;
|
|
787
|
+
static parseInt(str: string, radix?: Nullable_1<System_Internal.Int32>): double;
|
|
788
|
+
static toString(value: double): string;
|
|
789
|
+
static valueOf(value: double): double;
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
export type Number = Number$instance;
|
|
794
|
+
|
|
795
|
+
export abstract class Object$instance {
|
|
796
|
+
static entries(value: unknown): ValueTuple_2<System_Internal.String, unknown>[];
|
|
797
|
+
static keys(value: unknown): string[];
|
|
798
|
+
static values(value: unknown): (unknown | undefined)[];
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
export type Object = Object$instance;
|
|
803
|
+
|
|
804
|
+
export abstract class ProcessKeepAlive$instance {
|
|
805
|
+
static Acquire(): void;
|
|
806
|
+
static Release(): void;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
export type ProcessKeepAlive = ProcessKeepAlive$instance;
|
|
811
|
+
|
|
812
|
+
export abstract class String$instance {
|
|
813
|
+
static at(str: string, index: int): string;
|
|
814
|
+
static charAt(str: string, index: int): string;
|
|
815
|
+
static charCodeAt(str: string, index: int): int;
|
|
816
|
+
static codePointAt(str: string, index: int): int;
|
|
817
|
+
static concat(str: string, ...strings: string[]): string;
|
|
818
|
+
static endsWith(str: string, searchString: string): boolean;
|
|
819
|
+
static fromCharCode(...codes: int[]): string;
|
|
820
|
+
static fromCodePoint(...codePoints: int[]): string;
|
|
821
|
+
static includes(str: string, searchString: string): boolean;
|
|
822
|
+
static indexOf(str: string, searchString: string, position?: int): int;
|
|
823
|
+
static isWellFormed(str: string): boolean;
|
|
824
|
+
static lastIndexOf(str: string, searchString: string, position?: Nullable_1<System_Internal.Int32>): int;
|
|
825
|
+
static length(str: string): int;
|
|
826
|
+
static localeCompare(str: string, compareString: string): int;
|
|
827
|
+
static match(str: string, pattern: string): List_1<System_Internal.String> | undefined;
|
|
828
|
+
static matchAll(str: string, pattern: string): List_1<List_1<System_Internal.String>>;
|
|
829
|
+
static normalize(str: string, form?: string): string;
|
|
830
|
+
static padEnd(str: string, targetLength: int, padString?: string): string;
|
|
831
|
+
static padStart(str: string, targetLength: int, padString?: string): string;
|
|
832
|
+
static raw(template: List_1<System_Internal.String>, ...substitutions: unknown[]): string;
|
|
833
|
+
static repeat(str: string, count: int): string;
|
|
834
|
+
static replace(str: string, search: string, replacement: string): string;
|
|
835
|
+
static replaceAll(str: string, search: string, replacement: string): string;
|
|
836
|
+
static search(str: string, pattern: string): int;
|
|
837
|
+
static slice(str: string, start: int, end?: Nullable_1<System_Internal.Int32>): string;
|
|
838
|
+
static split(str: string, separator: string, limit?: Nullable_1<System_Internal.Int32>): List_1<System_Internal.String>;
|
|
839
|
+
static startsWith(str: string, searchString: string): boolean;
|
|
840
|
+
static substr(str: string, start: int, length?: Nullable_1<System_Internal.Int32>): string;
|
|
841
|
+
static substring(str: string, start: int, end?: Nullable_1<System_Internal.Int32>): string;
|
|
842
|
+
static toLocaleLowerCase(str: string): string;
|
|
843
|
+
static toLocaleUpperCase(str: string): string;
|
|
844
|
+
static toLowerCase(str: string): string;
|
|
845
|
+
static toString(str: string): string;
|
|
846
|
+
static toUpperCase(str: string): string;
|
|
847
|
+
static toWellFormed(str: string): string;
|
|
848
|
+
static trim(str: string): string;
|
|
849
|
+
static trimEnd(str: string): string;
|
|
850
|
+
static trimLeft(str: string): string;
|
|
851
|
+
static trimRight(str: string): string;
|
|
852
|
+
static trimStart(str: string): string;
|
|
853
|
+
static valueOf(str: string): string;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
export type String = String$instance;
|
|
858
|
+
|
|
859
|
+
export abstract class Timers$instance {
|
|
860
|
+
static clearInterval(id: double): void;
|
|
861
|
+
static clearTimeout(id: double): void;
|
|
862
|
+
static setInterval<T>(callback: Action_1<T>, intervalMs: double, arg: T): double;
|
|
863
|
+
static setInterval(callback: Action, intervalMs: double): double;
|
|
864
|
+
static setTimeout<T>(callback: Action_1<T>, delayMs: double, arg: T): double;
|
|
865
|
+
static setTimeout(callback: Action, delayMs?: double): double;
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
export type Timers = Timers$instance;
|
|
870
|
+
|