@tsonic/js 10.0.5 → 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 +58 -41
- package/index/internal/index.d.ts +203 -167
- package/package.json +3 -3
|
@@ -10,6 +10,9 @@ import * as System_Collections_Generic from "@tsonic/dotnet/System.Collections.G
|
|
|
10
10
|
// Import primitive type aliases
|
|
11
11
|
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
12
12
|
|
|
13
|
+
// Import sticky extension scope helper
|
|
14
|
+
import type { Rewrap } from '@tsonic/core/lang.js';
|
|
15
|
+
|
|
13
16
|
// Import CLR type aliases for generic type arguments
|
|
14
17
|
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
15
18
|
|
|
@@ -17,51 +20,65 @@ import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
|
17
20
|
import type { ptr } from '@tsonic/core/types.js';
|
|
18
21
|
|
|
19
22
|
export interface __Ext_Tsonic_JSRuntime_String {
|
|
20
|
-
toUpperCase():
|
|
21
|
-
toLowerCase():
|
|
22
|
-
trim():
|
|
23
|
-
trimStart():
|
|
24
|
-
trimEnd():
|
|
25
|
-
substring(start: int, end?: System.Nullable_1<System_Internal.Int32>):
|
|
26
|
-
slice(start: int, end?: System.Nullable_1<System_Internal.Int32>):
|
|
27
|
-
indexOf(searchString: string, position?: int):
|
|
28
|
-
lastIndexOf(searchString: string, position?: System.Nullable_1<System_Internal.Int32>):
|
|
29
|
-
startsWith(searchString: string):
|
|
30
|
-
endsWith(searchString: string):
|
|
31
|
-
includes(searchString: string):
|
|
32
|
-
replace(search: string, replacement: string):
|
|
33
|
-
repeat(count: int):
|
|
34
|
-
padStart(targetLength: int, padString?: string):
|
|
35
|
-
padEnd(targetLength: int, padString?: string):
|
|
36
|
-
charAt(index: int):
|
|
37
|
-
charCodeAt(index: int):
|
|
38
|
-
split(separator: string, limit?: System.Nullable_1<System_Internal.Int32>):
|
|
39
|
-
length():
|
|
40
|
-
at(index: int):
|
|
41
|
-
codePointAt(index: int):
|
|
42
|
-
concat(...strings: string[]):
|
|
43
|
-
localeCompare(compareString: string):
|
|
44
|
-
match(pattern: string):
|
|
45
|
-
matchAll(pattern: string):
|
|
46
|
-
search(pattern: string):
|
|
47
|
-
replaceAll(search: string, replacement: string):
|
|
48
|
-
normalize(form?: string):
|
|
49
|
-
substr(start: int, length?: System.Nullable_1<System_Internal.Int32>):
|
|
50
|
-
toLocaleLowerCase():
|
|
51
|
-
toLocaleUpperCase():
|
|
52
|
-
toString():
|
|
53
|
-
valueOf():
|
|
54
|
-
isWellFormed():
|
|
55
|
-
toWellFormed():
|
|
56
|
-
trimLeft():
|
|
57
|
-
trimRight():
|
|
23
|
+
toUpperCase(): Rewrap<this, string>;
|
|
24
|
+
toLowerCase(): Rewrap<this, string>;
|
|
25
|
+
trim(): Rewrap<this, string>;
|
|
26
|
+
trimStart(): Rewrap<this, string>;
|
|
27
|
+
trimEnd(): Rewrap<this, string>;
|
|
28
|
+
substring(start: int, end?: System.Nullable_1<System_Internal.Int32>): Rewrap<this, string>;
|
|
29
|
+
slice(start: int, end?: System.Nullable_1<System_Internal.Int32>): Rewrap<this, string>;
|
|
30
|
+
indexOf(searchString: string, position?: int): Rewrap<this, int>;
|
|
31
|
+
lastIndexOf(searchString: string, position?: System.Nullable_1<System_Internal.Int32>): Rewrap<this, int>;
|
|
32
|
+
startsWith(searchString: string): Rewrap<this, boolean>;
|
|
33
|
+
endsWith(searchString: string): Rewrap<this, boolean>;
|
|
34
|
+
includes(searchString: string): Rewrap<this, boolean>;
|
|
35
|
+
replace(search: string, replacement: string): Rewrap<this, string>;
|
|
36
|
+
repeat(count: int): Rewrap<this, string>;
|
|
37
|
+
padStart(targetLength: int, padString?: string): Rewrap<this, string>;
|
|
38
|
+
padEnd(targetLength: int, padString?: string): Rewrap<this, string>;
|
|
39
|
+
charAt(index: int): Rewrap<this, string>;
|
|
40
|
+
charCodeAt(index: int): Rewrap<this, int>;
|
|
41
|
+
split(separator: string, limit?: System.Nullable_1<System_Internal.Int32>): Rewrap<this, System_Collections_Generic.List_1<System_Internal.String>>;
|
|
42
|
+
length(): Rewrap<this, int>;
|
|
43
|
+
at(index: int): Rewrap<this, string>;
|
|
44
|
+
codePointAt(index: int): Rewrap<this, int>;
|
|
45
|
+
concat(...strings: string[]): Rewrap<this, string>;
|
|
46
|
+
localeCompare(compareString: string): Rewrap<this, int>;
|
|
47
|
+
match(pattern: string): Rewrap<this, System_Collections_Generic.List_1<System_Internal.String> | undefined>;
|
|
48
|
+
matchAll(pattern: string): Rewrap<this, System_Collections_Generic.List_1<System_Collections_Generic.List_1<System_Internal.String>>>;
|
|
49
|
+
search(pattern: string): Rewrap<this, int>;
|
|
50
|
+
replaceAll(search: string, replacement: string): Rewrap<this, string>;
|
|
51
|
+
normalize(form?: string): Rewrap<this, string>;
|
|
52
|
+
substr(start: int, length?: System.Nullable_1<System_Internal.Int32>): Rewrap<this, string>;
|
|
53
|
+
toLocaleLowerCase(): Rewrap<this, string>;
|
|
54
|
+
toLocaleUpperCase(): Rewrap<this, string>;
|
|
55
|
+
toString(): Rewrap<this, string>;
|
|
56
|
+
valueOf(): Rewrap<this, string>;
|
|
57
|
+
isWellFormed(): Rewrap<this, boolean>;
|
|
58
|
+
toWellFormed(): Rewrap<this, string>;
|
|
59
|
+
trimLeft(): Rewrap<this, string>;
|
|
60
|
+
trimRight(): Rewrap<this, string>;
|
|
58
61
|
}
|
|
59
62
|
|
|
63
|
+
// Internal helper types for sticky extension scopes
|
|
64
|
+
type __TsonicExtMapOf<T> = T extends { __tsonic_ext?: infer M } ? M : {};
|
|
65
|
+
type __TsonicMergeExtMaps<A, B> = Omit<A, keyof B> & B;
|
|
66
|
+
type __TsonicWithExt<TShape, K extends string, TApplier> = { __tsonic_ext?: __TsonicMergeExtMaps<__TsonicExtMapOf<TShape>, { [P in K]: TApplier }> };
|
|
67
|
+
type __TsonicPreferExt<A, B> = Omit<A, keyof B> & B;
|
|
68
|
+
|
|
60
69
|
// Generic helper type for extension methods in namespace: Tsonic.JSRuntime
|
|
70
|
+
type __TsonicExtSurface_Tsonic_JSRuntime<TShape> =
|
|
71
|
+
(
|
|
72
|
+
(TShape extends string ? __Ext_Tsonic_JSRuntime_String : {})
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
interface __TsonicExtApplier_Tsonic_JSRuntime {
|
|
76
|
+
__tsonic_shape: unknown;
|
|
77
|
+
__tsonic_type: __TsonicExtSurface_Tsonic_JSRuntime<this["__tsonic_shape"]>;
|
|
78
|
+
}
|
|
79
|
+
|
|
61
80
|
export type ExtensionMethods_Tsonic_JSRuntime<TShape> =
|
|
62
81
|
TShape extends null | undefined ? TShape
|
|
63
82
|
: TShape extends void ? void
|
|
64
|
-
: TShape &
|
|
65
|
-
(TShape extends string ? __Ext_Tsonic_JSRuntime_String : {})
|
|
66
|
-
);
|
|
83
|
+
: TShape & __TsonicWithExt<TShape, "Tsonic.JSRuntime", __TsonicExtApplier_Tsonic_JSRuntime> & __TsonicExtSurface_Tsonic_JSRuntime<TShape>;
|
|
67
84
|
|
|
@@ -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,29 +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
|
+
|
|
90
96
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
91
97
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
92
98
|
|
|
93
99
|
readonly byteLength: int;
|
|
94
100
|
[index: number]: float;
|
|
95
101
|
readonly length: int;
|
|
96
|
-
at(index: int):
|
|
97
|
-
fill(value: float, start?: int, end?:
|
|
98
|
-
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>;
|
|
99
105
|
includes(value: float, fromIndex?: int): boolean;
|
|
100
106
|
indexOf(value: float, fromIndex?: int): int;
|
|
101
107
|
join(separator?: string): string;
|
|
102
108
|
reverse(): Float32Array;
|
|
103
|
-
set(array:
|
|
104
|
-
slice(begin?: int, end?:
|
|
105
|
-
sort(compareFn?:
|
|
106
|
-
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;
|
|
107
113
|
}
|
|
108
114
|
|
|
109
115
|
|
|
110
116
|
export const Float32Array: {
|
|
111
117
|
new(length: int): Float32Array;
|
|
112
|
-
new(values:
|
|
118
|
+
new(values: IEnumerable_1<System_Internal.Single>): Float32Array;
|
|
113
119
|
new(values: float[]): Float32Array;
|
|
114
120
|
readonly BYTES_PER_ELEMENT: int;
|
|
115
121
|
};
|
|
@@ -118,29 +124,31 @@ export const Float32Array: {
|
|
|
118
124
|
export type Float32Array = Float32Array$instance;
|
|
119
125
|
|
|
120
126
|
export interface Float64Array$instance {
|
|
127
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Float64Array: never;
|
|
128
|
+
|
|
121
129
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
122
130
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
123
131
|
|
|
124
132
|
readonly byteLength: int;
|
|
125
133
|
[index: number]: double;
|
|
126
134
|
readonly length: int;
|
|
127
|
-
at(index: int):
|
|
128
|
-
fill(value: double, start?: int, end?:
|
|
129
|
-
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>;
|
|
130
138
|
includes(value: double, fromIndex?: int): boolean;
|
|
131
139
|
indexOf(value: double, fromIndex?: int): int;
|
|
132
140
|
join(separator?: string): string;
|
|
133
141
|
reverse(): Float64Array;
|
|
134
|
-
set(array:
|
|
135
|
-
slice(begin?: int, end?:
|
|
136
|
-
sort(compareFn?:
|
|
137
|
-
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;
|
|
138
146
|
}
|
|
139
147
|
|
|
140
148
|
|
|
141
149
|
export const Float64Array: {
|
|
142
150
|
new(length: int): Float64Array;
|
|
143
|
-
new(values:
|
|
151
|
+
new(values: IEnumerable_1<System_Internal.Double>): Float64Array;
|
|
144
152
|
new(values: double[]): Float64Array;
|
|
145
153
|
readonly BYTES_PER_ELEMENT: int;
|
|
146
154
|
};
|
|
@@ -149,29 +157,31 @@ export const Float64Array: {
|
|
|
149
157
|
export type Float64Array = Float64Array$instance;
|
|
150
158
|
|
|
151
159
|
export interface Int16Array$instance {
|
|
160
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Int16Array: never;
|
|
161
|
+
|
|
152
162
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
153
163
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
154
164
|
|
|
155
165
|
readonly byteLength: int;
|
|
156
166
|
[index: number]: short;
|
|
157
167
|
readonly length: int;
|
|
158
|
-
at(index: int):
|
|
159
|
-
fill(value: short, start?: int, end?:
|
|
160
|
-
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>;
|
|
161
171
|
includes(value: short, fromIndex?: int): boolean;
|
|
162
172
|
indexOf(value: short, fromIndex?: int): int;
|
|
163
173
|
join(separator?: string): string;
|
|
164
174
|
reverse(): Int16Array;
|
|
165
|
-
set(array:
|
|
166
|
-
slice(begin?: int, end?:
|
|
167
|
-
sort(compareFn?:
|
|
168
|
-
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;
|
|
169
179
|
}
|
|
170
180
|
|
|
171
181
|
|
|
172
182
|
export const Int16Array: {
|
|
173
183
|
new(length: int): Int16Array;
|
|
174
|
-
new(values:
|
|
184
|
+
new(values: IEnumerable_1<System_Internal.Int16>): Int16Array;
|
|
175
185
|
new(values: short[]): Int16Array;
|
|
176
186
|
readonly BYTES_PER_ELEMENT: int;
|
|
177
187
|
};
|
|
@@ -180,29 +190,31 @@ export const Int16Array: {
|
|
|
180
190
|
export type Int16Array = Int16Array$instance;
|
|
181
191
|
|
|
182
192
|
export interface Int32Array$instance {
|
|
193
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Int32Array: never;
|
|
194
|
+
|
|
183
195
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
184
196
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
185
197
|
|
|
186
198
|
readonly byteLength: int;
|
|
187
199
|
[index: number]: int;
|
|
188
200
|
readonly length: int;
|
|
189
|
-
at(index: int):
|
|
190
|
-
fill(value: int, start?: int, end?:
|
|
191
|
-
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>;
|
|
192
204
|
includes(value: int, fromIndex?: int): boolean;
|
|
193
205
|
indexOf(value: int, fromIndex?: int): int;
|
|
194
206
|
join(separator?: string): string;
|
|
195
207
|
reverse(): Int32Array;
|
|
196
|
-
set(array:
|
|
197
|
-
slice(begin?: int, end?:
|
|
198
|
-
sort(compareFn?:
|
|
199
|
-
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;
|
|
200
212
|
}
|
|
201
213
|
|
|
202
214
|
|
|
203
215
|
export const Int32Array: {
|
|
204
216
|
new(length: int): Int32Array;
|
|
205
|
-
new(values:
|
|
217
|
+
new(values: IEnumerable_1<System_Internal.Int32>): Int32Array;
|
|
206
218
|
new(values: int[]): Int32Array;
|
|
207
219
|
readonly BYTES_PER_ELEMENT: int;
|
|
208
220
|
};
|
|
@@ -211,29 +223,31 @@ export const Int32Array: {
|
|
|
211
223
|
export type Int32Array = Int32Array$instance;
|
|
212
224
|
|
|
213
225
|
export interface Int8Array$instance {
|
|
226
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Int8Array: never;
|
|
227
|
+
|
|
214
228
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
215
229
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
216
230
|
|
|
217
231
|
readonly byteLength: int;
|
|
218
232
|
[index: number]: sbyte;
|
|
219
233
|
readonly length: int;
|
|
220
|
-
at(index: int):
|
|
221
|
-
fill(value: sbyte, start?: int, end?:
|
|
222
|
-
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>;
|
|
223
237
|
includes(value: sbyte, fromIndex?: int): boolean;
|
|
224
238
|
indexOf(value: sbyte, fromIndex?: int): int;
|
|
225
239
|
join(separator?: string): string;
|
|
226
240
|
reverse(): Int8Array;
|
|
227
|
-
set(array:
|
|
228
|
-
slice(begin?: int, end?:
|
|
229
|
-
sort(compareFn?:
|
|
230
|
-
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;
|
|
231
245
|
}
|
|
232
246
|
|
|
233
247
|
|
|
234
248
|
export const Int8Array: {
|
|
235
249
|
new(length: int): Int8Array;
|
|
236
|
-
new(values:
|
|
250
|
+
new(values: IEnumerable_1<System_Internal.SByte>): Int8Array;
|
|
237
251
|
new(values: sbyte[]): Int8Array;
|
|
238
252
|
readonly BYTES_PER_ELEMENT: int;
|
|
239
253
|
};
|
|
@@ -242,6 +256,8 @@ export const Int8Array: {
|
|
|
242
256
|
export type Int8Array = Int8Array$instance;
|
|
243
257
|
|
|
244
258
|
export interface JSArray_1$instance<T> {
|
|
259
|
+
readonly __tsonic_type_Tsonic_JSRuntime_JSArray_1: never;
|
|
260
|
+
|
|
245
261
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
246
262
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
247
263
|
|
|
@@ -249,68 +265,68 @@ export interface JSArray_1$instance<T> {
|
|
|
249
265
|
readonly length: int;
|
|
250
266
|
at(index: int): T;
|
|
251
267
|
concat(...items: unknown[]): JSArray_1<T>;
|
|
252
|
-
copyWithin(target: int, start?: int, end?:
|
|
253
|
-
entries():
|
|
254
|
-
every(callback:
|
|
255
|
-
every(callback:
|
|
256
|
-
fill(value: T, start?: int, end?:
|
|
257
|
-
filter(callback:
|
|
258
|
-
filter(callback:
|
|
259
|
-
filter(callback:
|
|
260
|
-
find(callback:
|
|
261
|
-
find(callback:
|
|
262
|
-
find(callback:
|
|
263
|
-
findIndex(callback:
|
|
264
|
-
findIndex(callback:
|
|
265
|
-
findIndex(callback:
|
|
266
|
-
findLast(callback:
|
|
267
|
-
findLast(callback:
|
|
268
|
-
findLast(callback:
|
|
269
|
-
findLastIndex(callback:
|
|
270
|
-
findLastIndex(callback:
|
|
271
|
-
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;
|
|
272
288
|
flat(depth?: int): JSArray_1<unknown>;
|
|
273
|
-
flatMap<TResult>(callback:
|
|
274
|
-
forEach(callback:
|
|
275
|
-
forEach(callback:
|
|
276
|
-
forEach(callback:
|
|
277
|
-
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>;
|
|
278
294
|
includes(searchElement: T): boolean;
|
|
279
295
|
indexOf(searchElement: T, fromIndex?: int): int;
|
|
280
296
|
join(separator?: string): string;
|
|
281
|
-
keys():
|
|
282
|
-
lastIndexOf(searchElement: T, fromIndex?:
|
|
283
|
-
map<TResult>(callback:
|
|
284
|
-
map<TResult>(callback:
|
|
285
|
-
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>;
|
|
286
302
|
pop(): T;
|
|
287
303
|
push(item: T): int;
|
|
288
304
|
push(...items: T[]): int;
|
|
289
|
-
reduce<TResult>(callback:
|
|
290
|
-
reduce<TResult>(callback:
|
|
291
|
-
reduce<TResult>(callback:
|
|
292
|
-
reduce(callback:
|
|
293
|
-
reduceRight<TResult>(callback:
|
|
294
|
-
reduceRight<TResult>(callback:
|
|
295
|
-
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;
|
|
296
312
|
reverse(): JSArray_1<T>;
|
|
297
313
|
setLength(newLength: int): void;
|
|
298
314
|
shift(): T;
|
|
299
|
-
slice(start?: int, end?:
|
|
300
|
-
some(callback:
|
|
301
|
-
some(callback:
|
|
302
|
-
sort(compareFunc?:
|
|
303
|
-
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>;
|
|
304
320
|
toArray(): T[];
|
|
305
|
-
toList():
|
|
321
|
+
toList(): List_1<T>;
|
|
306
322
|
toLocaleString(): string;
|
|
307
323
|
toReversed(): JSArray_1<T>;
|
|
308
|
-
toSorted(compareFunc?:
|
|
309
|
-
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>;
|
|
310
326
|
ToString(): string;
|
|
311
327
|
unshift(item: T): int;
|
|
312
328
|
unshift(...items: T[]): int;
|
|
313
|
-
values():
|
|
329
|
+
values(): IEnumerable_1<T>;
|
|
314
330
|
with(index: int, value: T): JSArray_1<T>;
|
|
315
331
|
}
|
|
316
332
|
|
|
@@ -319,10 +335,10 @@ export const JSArray_1: {
|
|
|
319
335
|
new<T>(): JSArray_1<T>;
|
|
320
336
|
new<T>(capacity: int): JSArray_1<T>;
|
|
321
337
|
new<T>(source: T[]): JSArray_1<T>;
|
|
322
|
-
new<T>(source:
|
|
323
|
-
new<T>(source:
|
|
324
|
-
from<T, TSource, TResult>(iterable:
|
|
325
|
-
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>;
|
|
326
342
|
isArray<T>(value: unknown): boolean;
|
|
327
343
|
of<T>(...items: T[]): JSArray_1<T>;
|
|
328
344
|
};
|
|
@@ -331,34 +347,38 @@ export const JSArray_1: {
|
|
|
331
347
|
export type JSArray_1<T> = JSArray_1$instance<T>;
|
|
332
348
|
|
|
333
349
|
export interface Map_2$instance<K, V> {
|
|
350
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Map_2: never;
|
|
351
|
+
|
|
334
352
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
335
353
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
336
354
|
|
|
337
355
|
readonly size: int;
|
|
338
356
|
clear(): void;
|
|
339
357
|
delete(key: K): boolean;
|
|
340
|
-
entries():
|
|
341
|
-
forEach(callback:
|
|
342
|
-
forEach(callback:
|
|
343
|
-
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;
|
|
344
362
|
get(key: K): V | undefined;
|
|
345
|
-
GetEnumerator():
|
|
363
|
+
GetEnumerator(): IEnumerator_1<KeyValuePair_2<K, V>>;
|
|
346
364
|
has(key: K): boolean;
|
|
347
|
-
keys():
|
|
365
|
+
keys(): IEnumerable_1<K>;
|
|
348
366
|
set(key: K, value: V): Map_2<K, V>;
|
|
349
|
-
values():
|
|
367
|
+
values(): IEnumerable_1<V>;
|
|
350
368
|
}
|
|
351
369
|
|
|
352
370
|
|
|
353
371
|
export const Map_2: {
|
|
354
372
|
new<K, V>(): Map_2<K, V>;
|
|
355
|
-
new<K, V>(entries:
|
|
373
|
+
new<K, V>(entries: IEnumerable_1<ValueTuple_2<K, V>>): Map_2<K, V>;
|
|
356
374
|
};
|
|
357
375
|
|
|
358
376
|
|
|
359
377
|
export type Map_2<K, V> = Map_2$instance<K, V>;
|
|
360
378
|
|
|
361
379
|
export interface RegExp$instance {
|
|
380
|
+
readonly __tsonic_type_Tsonic_JSRuntime_RegExp: never;
|
|
381
|
+
|
|
362
382
|
readonly dotAll: boolean;
|
|
363
383
|
readonly flags: string;
|
|
364
384
|
readonly global: boolean;
|
|
@@ -383,6 +403,8 @@ export const RegExp: {
|
|
|
383
403
|
export type RegExp = RegExp$instance;
|
|
384
404
|
|
|
385
405
|
export interface RegExpMatchResult$instance {
|
|
406
|
+
readonly __tsonic_type_Tsonic_JSRuntime_RegExpMatchResult: never;
|
|
407
|
+
|
|
386
408
|
readonly groups: (string | undefined)[];
|
|
387
409
|
readonly index: int;
|
|
388
410
|
readonly input: string;
|
|
@@ -400,6 +422,8 @@ export const RegExpMatchResult: {
|
|
|
400
422
|
export type RegExpMatchResult = RegExpMatchResult$instance;
|
|
401
423
|
|
|
402
424
|
export interface Set_1$instance<T> {
|
|
425
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Set_1: never;
|
|
426
|
+
|
|
403
427
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
404
428
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
405
429
|
|
|
@@ -408,55 +432,57 @@ export interface Set_1$instance<T> {
|
|
|
408
432
|
clear(): void;
|
|
409
433
|
delete(value: T): boolean;
|
|
410
434
|
difference(other: Set_1<T>): Set_1<T>;
|
|
411
|
-
entries():
|
|
412
|
-
forEach(callback:
|
|
413
|
-
forEach(callback:
|
|
414
|
-
forEach(callback:
|
|
415
|
-
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>;
|
|
416
440
|
has(value: T): boolean;
|
|
417
441
|
intersection(other: Set_1<T>): Set_1<T>;
|
|
418
442
|
isDisjointFrom(other: Set_1<T>): boolean;
|
|
419
443
|
isSubsetOf(other: Set_1<T>): boolean;
|
|
420
444
|
isSupersetOf(other: Set_1<T>): boolean;
|
|
421
|
-
keys():
|
|
445
|
+
keys(): IEnumerable_1<T>;
|
|
422
446
|
symmetricDifference(other: Set_1<T>): Set_1<T>;
|
|
423
447
|
union(other: Set_1<T>): Set_1<T>;
|
|
424
|
-
values():
|
|
448
|
+
values(): IEnumerable_1<T>;
|
|
425
449
|
}
|
|
426
450
|
|
|
427
451
|
|
|
428
452
|
export const Set_1: {
|
|
429
453
|
new<T>(): Set_1<T>;
|
|
430
|
-
new<T>(values:
|
|
454
|
+
new<T>(values: IEnumerable_1<T>): Set_1<T>;
|
|
431
455
|
};
|
|
432
456
|
|
|
433
457
|
|
|
434
458
|
export type Set_1<T> = Set_1$instance<T>;
|
|
435
459
|
|
|
436
460
|
export interface Uint16Array$instance {
|
|
461
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Uint16Array: never;
|
|
462
|
+
|
|
437
463
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
438
464
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
439
465
|
|
|
440
466
|
readonly byteLength: int;
|
|
441
467
|
[index: number]: ushort;
|
|
442
468
|
readonly length: int;
|
|
443
|
-
at(index: int):
|
|
444
|
-
fill(value: ushort, start?: int, end?:
|
|
445
|
-
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>;
|
|
446
472
|
includes(value: ushort, fromIndex?: int): boolean;
|
|
447
473
|
indexOf(value: ushort, fromIndex?: int): int;
|
|
448
474
|
join(separator?: string): string;
|
|
449
475
|
reverse(): Uint16Array;
|
|
450
|
-
set(array:
|
|
451
|
-
slice(begin?: int, end?:
|
|
452
|
-
sort(compareFn?:
|
|
453
|
-
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;
|
|
454
480
|
}
|
|
455
481
|
|
|
456
482
|
|
|
457
483
|
export const Uint16Array: {
|
|
458
484
|
new(length: int): Uint16Array;
|
|
459
|
-
new(values:
|
|
485
|
+
new(values: IEnumerable_1<System_Internal.UInt16>): Uint16Array;
|
|
460
486
|
new(values: ushort[]): Uint16Array;
|
|
461
487
|
readonly BYTES_PER_ELEMENT: int;
|
|
462
488
|
};
|
|
@@ -465,29 +491,31 @@ export const Uint16Array: {
|
|
|
465
491
|
export type Uint16Array = Uint16Array$instance;
|
|
466
492
|
|
|
467
493
|
export interface Uint32Array$instance {
|
|
494
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Uint32Array: never;
|
|
495
|
+
|
|
468
496
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
469
497
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
470
498
|
|
|
471
499
|
readonly byteLength: int;
|
|
472
500
|
[index: number]: uint;
|
|
473
501
|
readonly length: int;
|
|
474
|
-
at(index: int):
|
|
475
|
-
fill(value: uint, start?: int, end?:
|
|
476
|
-
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>;
|
|
477
505
|
includes(value: uint, fromIndex?: int): boolean;
|
|
478
506
|
indexOf(value: uint, fromIndex?: int): int;
|
|
479
507
|
join(separator?: string): string;
|
|
480
508
|
reverse(): Uint32Array;
|
|
481
|
-
set(array:
|
|
482
|
-
slice(begin?: int, end?:
|
|
483
|
-
sort(compareFn?:
|
|
484
|
-
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;
|
|
485
513
|
}
|
|
486
514
|
|
|
487
515
|
|
|
488
516
|
export const Uint32Array: {
|
|
489
517
|
new(length: int): Uint32Array;
|
|
490
|
-
new(values:
|
|
518
|
+
new(values: IEnumerable_1<System_Internal.UInt32>): Uint32Array;
|
|
491
519
|
new(values: uint[]): Uint32Array;
|
|
492
520
|
readonly BYTES_PER_ELEMENT: int;
|
|
493
521
|
};
|
|
@@ -496,29 +524,31 @@ export const Uint32Array: {
|
|
|
496
524
|
export type Uint32Array = Uint32Array$instance;
|
|
497
525
|
|
|
498
526
|
export interface Uint8Array$instance {
|
|
527
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Uint8Array: never;
|
|
528
|
+
|
|
499
529
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
500
530
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
501
531
|
|
|
502
532
|
readonly byteLength: int;
|
|
503
533
|
[index: number]: byte;
|
|
504
534
|
readonly length: int;
|
|
505
|
-
at(index: int):
|
|
506
|
-
fill(value: byte, start?: int, end?:
|
|
507
|
-
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>;
|
|
508
538
|
includes(value: byte, fromIndex?: int): boolean;
|
|
509
539
|
indexOf(value: byte, fromIndex?: int): int;
|
|
510
540
|
join(separator?: string): string;
|
|
511
541
|
reverse(): Uint8Array;
|
|
512
|
-
set(array:
|
|
513
|
-
slice(begin?: int, end?:
|
|
514
|
-
sort(compareFn?:
|
|
515
|
-
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;
|
|
516
546
|
}
|
|
517
547
|
|
|
518
548
|
|
|
519
549
|
export const Uint8Array: {
|
|
520
550
|
new(length: int): Uint8Array;
|
|
521
|
-
new(values:
|
|
551
|
+
new(values: IEnumerable_1<System_Internal.Byte>): Uint8Array;
|
|
522
552
|
new(values: byte[]): Uint8Array;
|
|
523
553
|
readonly BYTES_PER_ELEMENT: int;
|
|
524
554
|
};
|
|
@@ -527,30 +557,32 @@ export const Uint8Array: {
|
|
|
527
557
|
export type Uint8Array = Uint8Array$instance;
|
|
528
558
|
|
|
529
559
|
export interface Uint8ClampedArray$instance {
|
|
560
|
+
readonly __tsonic_type_Tsonic_JSRuntime_Uint8ClampedArray: never;
|
|
561
|
+
|
|
530
562
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
531
563
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
532
564
|
|
|
533
565
|
readonly byteLength: int;
|
|
534
566
|
[index: number]: byte;
|
|
535
567
|
readonly length: int;
|
|
536
|
-
at(index: int):
|
|
537
|
-
fill(value: byte, start?: int, end?:
|
|
538
|
-
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>;
|
|
539
571
|
includes(value: byte, fromIndex?: int): boolean;
|
|
540
572
|
indexOf(value: byte, fromIndex?: int): int;
|
|
541
573
|
join(separator?: string): string;
|
|
542
574
|
reverse(): Uint8ClampedArray;
|
|
543
|
-
set(array:
|
|
575
|
+
set(array: IEnumerable_1<System_Internal.Byte>, offset?: int): void;
|
|
544
576
|
SetClamped(index: int, value: int): void;
|
|
545
|
-
slice(begin?: int, end?:
|
|
546
|
-
sort(compareFn?:
|
|
547
|
-
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;
|
|
548
580
|
}
|
|
549
581
|
|
|
550
582
|
|
|
551
583
|
export const Uint8ClampedArray: {
|
|
552
584
|
new(length: int): Uint8ClampedArray;
|
|
553
|
-
new(values:
|
|
585
|
+
new(values: IEnumerable_1<System_Internal.Byte>): Uint8ClampedArray;
|
|
554
586
|
new(values: byte[]): Uint8ClampedArray;
|
|
555
587
|
readonly BYTES_PER_ELEMENT: int;
|
|
556
588
|
};
|
|
@@ -559,6 +591,8 @@ export const Uint8ClampedArray: {
|
|
|
559
591
|
export type Uint8ClampedArray = Uint8ClampedArray$instance;
|
|
560
592
|
|
|
561
593
|
export interface WeakMap_2$instance<K, V> {
|
|
594
|
+
readonly __tsonic_type_Tsonic_JSRuntime_WeakMap_2: never;
|
|
595
|
+
|
|
562
596
|
delete(key: K): boolean;
|
|
563
597
|
get(key: K): V | undefined;
|
|
564
598
|
has(key: K): boolean;
|
|
@@ -574,6 +608,8 @@ export const WeakMap_2: {
|
|
|
574
608
|
export type WeakMap_2<K, V> = WeakMap_2$instance<K, V>;
|
|
575
609
|
|
|
576
610
|
export interface WeakSet_1$instance<T> {
|
|
611
|
+
readonly __tsonic_type_Tsonic_JSRuntime_WeakSet_1: never;
|
|
612
|
+
|
|
577
613
|
add(value: T): WeakSet_1<T>;
|
|
578
614
|
delete(value: T): boolean;
|
|
579
615
|
has(value: T): boolean;
|
|
@@ -625,7 +661,7 @@ export abstract class Globals$instance {
|
|
|
625
661
|
static isNaN(value: double): boolean;
|
|
626
662
|
static Number(value: unknown): double;
|
|
627
663
|
static parseFloat(str: string): double;
|
|
628
|
-
static parseInt(str: string, radix?:
|
|
664
|
+
static parseInt(str: string, radix?: Nullable_1<System_Internal.Int32>): Nullable_1<System_Internal.Int64>;
|
|
629
665
|
static String(value: unknown): string;
|
|
630
666
|
}
|
|
631
667
|
|
|
@@ -704,7 +740,7 @@ export abstract class Number$instance {
|
|
|
704
740
|
static isNaN(value: double): boolean;
|
|
705
741
|
static isSafeInteger(value: double): boolean;
|
|
706
742
|
static parseFloat(str: string): double;
|
|
707
|
-
static parseInt(str: string, radix?:
|
|
743
|
+
static parseInt(str: string, radix?: Nullable_1<System_Internal.Int32>): Nullable_1<System_Internal.Int64>;
|
|
708
744
|
}
|
|
709
745
|
|
|
710
746
|
|
|
@@ -722,24 +758,24 @@ export abstract class String$instance {
|
|
|
722
758
|
static includes(str: string, searchString: string): boolean;
|
|
723
759
|
static indexOf(str: string, searchString: string, position?: int): int;
|
|
724
760
|
static isWellFormed(str: string): boolean;
|
|
725
|
-
static lastIndexOf(str: string, searchString: string, position?:
|
|
761
|
+
static lastIndexOf(str: string, searchString: string, position?: Nullable_1<System_Internal.Int32>): int;
|
|
726
762
|
static length(str: string): int;
|
|
727
763
|
static localeCompare(str: string, compareString: string): int;
|
|
728
|
-
static match(str: string, pattern: string):
|
|
729
|
-
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>>;
|
|
730
766
|
static normalize(str: string, form?: string): string;
|
|
731
767
|
static padEnd(str: string, targetLength: int, padString?: string): string;
|
|
732
768
|
static padStart(str: string, targetLength: int, padString?: string): string;
|
|
733
|
-
static raw(template:
|
|
769
|
+
static raw(template: List_1<System_Internal.String>, ...substitutions: unknown[]): string;
|
|
734
770
|
static repeat(str: string, count: int): string;
|
|
735
771
|
static replace(str: string, search: string, replacement: string): string;
|
|
736
772
|
static replaceAll(str: string, search: string, replacement: string): string;
|
|
737
773
|
static search(str: string, pattern: string): int;
|
|
738
|
-
static slice(str: string, start: int, end?:
|
|
739
|
-
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>;
|
|
740
776
|
static startsWith(str: string, searchString: string): boolean;
|
|
741
|
-
static substr(str: string, start: int, length?:
|
|
742
|
-
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;
|
|
743
779
|
static toLocaleLowerCase(str: string): string;
|
|
744
780
|
static toLocaleUpperCase(str: string): string;
|
|
745
781
|
static toLowerCase(str: string): string;
|
|
@@ -760,9 +796,9 @@ export type String = String$instance;
|
|
|
760
796
|
export abstract class Timers$instance {
|
|
761
797
|
static clearInterval(id: int): void;
|
|
762
798
|
static clearTimeout(id: int): void;
|
|
763
|
-
static setInterval<T>(callback:
|
|
799
|
+
static setInterval<T>(callback: Action_1<T>, intervalMs: int, arg: T): int;
|
|
764
800
|
static setInterval(callback: Action, intervalMs: int): int;
|
|
765
|
-
static setTimeout<T>(callback:
|
|
801
|
+
static setTimeout<T>(callback: Action_1<T>, delayMs: int, arg: T): int;
|
|
766
802
|
static setTimeout(callback: Action, delayMs?: int): int;
|
|
767
803
|
}
|
|
768
804
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsonic/js",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.6",
|
|
4
4
|
"description": "TypeScript type definitions for JavaScript Runtime (JSRuntime) library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"url": "https://github.com/tsoniclang/js.git"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@tsonic/dotnet": "^10.0.
|
|
24
|
-
"@tsonic/core": "^10.0.
|
|
23
|
+
"@tsonic/dotnet": "^10.0.6",
|
|
24
|
+
"@tsonic/core": "^10.0.9"
|
|
25
25
|
}
|
|
26
26
|
}
|