@tsonic/js 10.0.6 → 10.0.8
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/index/bindings.json +75 -101
- package/index/internal/index.d.ts +139 -150
- package/index.d.ts +3 -0
- package/package.json +1 -1
- package/tsonic-js-10.0.7.tgz +0 -0
package/index/bindings.json
CHANGED
|
@@ -10101,116 +10101,90 @@
|
|
|
10101
10101
|
"constructors": []
|
|
10102
10102
|
}
|
|
10103
10103
|
],
|
|
10104
|
-
"
|
|
10105
|
-
{
|
|
10106
|
-
"
|
|
10107
|
-
"
|
|
10108
|
-
"
|
|
10109
|
-
"
|
|
10110
|
-
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10111
|
-
"declaringAssemblyName": "Tsonic.JSRuntime",
|
|
10112
|
-
"metadataToken": 100663411
|
|
10113
|
-
}
|
|
10104
|
+
"exports": {
|
|
10105
|
+
"parseInt": {
|
|
10106
|
+
"kind": "method",
|
|
10107
|
+
"clrName": "parseInt",
|
|
10108
|
+
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10109
|
+
"declaringAssemblyName": "Tsonic.JSRuntime"
|
|
10114
10110
|
},
|
|
10115
|
-
{
|
|
10116
|
-
"
|
|
10117
|
-
"
|
|
10118
|
-
"
|
|
10119
|
-
"
|
|
10120
|
-
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10121
|
-
"declaringAssemblyName": "Tsonic.JSRuntime",
|
|
10122
|
-
"metadataToken": 100663412
|
|
10123
|
-
}
|
|
10111
|
+
"parseFloat": {
|
|
10112
|
+
"kind": "method",
|
|
10113
|
+
"clrName": "parseFloat",
|
|
10114
|
+
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10115
|
+
"declaringAssemblyName": "Tsonic.JSRuntime"
|
|
10124
10116
|
},
|
|
10125
|
-
{
|
|
10126
|
-
"
|
|
10127
|
-
"
|
|
10128
|
-
"
|
|
10129
|
-
"
|
|
10130
|
-
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10131
|
-
"declaringAssemblyName": "Tsonic.JSRuntime",
|
|
10132
|
-
"metadataToken": 100663413
|
|
10133
|
-
}
|
|
10117
|
+
"isNaN": {
|
|
10118
|
+
"kind": "method",
|
|
10119
|
+
"clrName": "isNaN",
|
|
10120
|
+
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10121
|
+
"declaringAssemblyName": "Tsonic.JSRuntime"
|
|
10134
10122
|
},
|
|
10135
|
-
{
|
|
10136
|
-
"
|
|
10137
|
-
"
|
|
10138
|
-
"
|
|
10139
|
-
"
|
|
10140
|
-
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10141
|
-
"declaringAssemblyName": "Tsonic.JSRuntime",
|
|
10142
|
-
"metadataToken": 100663414
|
|
10143
|
-
}
|
|
10123
|
+
"isFinite": {
|
|
10124
|
+
"kind": "method",
|
|
10125
|
+
"clrName": "isFinite",
|
|
10126
|
+
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10127
|
+
"declaringAssemblyName": "Tsonic.JSRuntime"
|
|
10144
10128
|
},
|
|
10145
|
-
{
|
|
10146
|
-
"
|
|
10147
|
-
"
|
|
10148
|
-
"
|
|
10149
|
-
"
|
|
10150
|
-
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10151
|
-
"declaringAssemblyName": "Tsonic.JSRuntime",
|
|
10152
|
-
"metadataToken": 100663418
|
|
10153
|
-
}
|
|
10129
|
+
"encodeURIComponent": {
|
|
10130
|
+
"kind": "method",
|
|
10131
|
+
"clrName": "encodeURIComponent",
|
|
10132
|
+
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10133
|
+
"declaringAssemblyName": "Tsonic.JSRuntime"
|
|
10154
10134
|
},
|
|
10155
|
-
{
|
|
10156
|
-
"
|
|
10157
|
-
"
|
|
10158
|
-
"
|
|
10159
|
-
"
|
|
10160
|
-
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10161
|
-
"declaringAssemblyName": "Tsonic.JSRuntime",
|
|
10162
|
-
"metadataToken": 100663419
|
|
10163
|
-
}
|
|
10135
|
+
"decodeURIComponent": {
|
|
10136
|
+
"kind": "method",
|
|
10137
|
+
"clrName": "decodeURIComponent",
|
|
10138
|
+
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10139
|
+
"declaringAssemblyName": "Tsonic.JSRuntime"
|
|
10164
10140
|
},
|
|
10165
|
-
{
|
|
10166
|
-
"
|
|
10167
|
-
"
|
|
10168
|
-
"
|
|
10169
|
-
"
|
|
10170
|
-
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10171
|
-
"declaringAssemblyName": "Tsonic.JSRuntime",
|
|
10172
|
-
"metadataToken": 100663420
|
|
10173
|
-
}
|
|
10141
|
+
"encodeURI": {
|
|
10142
|
+
"kind": "method",
|
|
10143
|
+
"clrName": "encodeURI",
|
|
10144
|
+
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10145
|
+
"declaringAssemblyName": "Tsonic.JSRuntime"
|
|
10174
10146
|
},
|
|
10175
|
-
{
|
|
10176
|
-
"
|
|
10177
|
-
"
|
|
10178
|
-
"
|
|
10179
|
-
"
|
|
10180
|
-
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10181
|
-
"declaringAssemblyName": "Tsonic.JSRuntime",
|
|
10182
|
-
"metadataToken": 100663421
|
|
10183
|
-
}
|
|
10147
|
+
"decodeURI": {
|
|
10148
|
+
"kind": "method",
|
|
10149
|
+
"clrName": "decodeURI",
|
|
10150
|
+
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10151
|
+
"declaringAssemblyName": "Tsonic.JSRuntime"
|
|
10184
10152
|
},
|
|
10185
|
-
{
|
|
10186
|
-
"
|
|
10187
|
-
"
|
|
10188
|
-
"
|
|
10189
|
-
"
|
|
10190
|
-
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10191
|
-
"declaringAssemblyName": "Tsonic.JSRuntime",
|
|
10192
|
-
"metadataToken": 100663422
|
|
10193
|
-
}
|
|
10153
|
+
"Number": {
|
|
10154
|
+
"kind": "method",
|
|
10155
|
+
"clrName": "Number",
|
|
10156
|
+
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10157
|
+
"declaringAssemblyName": "Tsonic.JSRuntime"
|
|
10194
10158
|
},
|
|
10195
|
-
{
|
|
10196
|
-
"
|
|
10197
|
-
"
|
|
10198
|
-
"
|
|
10199
|
-
"
|
|
10200
|
-
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10201
|
-
"declaringAssemblyName": "Tsonic.JSRuntime",
|
|
10202
|
-
"metadataToken": 100663423
|
|
10203
|
-
}
|
|
10159
|
+
"String": {
|
|
10160
|
+
"kind": "method",
|
|
10161
|
+
"clrName": "String",
|
|
10162
|
+
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10163
|
+
"declaringAssemblyName": "Tsonic.JSRuntime"
|
|
10204
10164
|
},
|
|
10205
|
-
{
|
|
10206
|
-
"
|
|
10207
|
-
"
|
|
10208
|
-
"
|
|
10209
|
-
"
|
|
10210
|
-
|
|
10211
|
-
|
|
10212
|
-
|
|
10213
|
-
|
|
10165
|
+
"Boolean": {
|
|
10166
|
+
"kind": "method",
|
|
10167
|
+
"clrName": "Boolean",
|
|
10168
|
+
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10169
|
+
"declaringAssemblyName": "Tsonic.JSRuntime"
|
|
10170
|
+
},
|
|
10171
|
+
"Infinity": {
|
|
10172
|
+
"kind": "field",
|
|
10173
|
+
"clrName": "Infinity",
|
|
10174
|
+
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10175
|
+
"declaringAssemblyName": "Tsonic.JSRuntime"
|
|
10176
|
+
},
|
|
10177
|
+
"NaN": {
|
|
10178
|
+
"kind": "field",
|
|
10179
|
+
"clrName": "NaN",
|
|
10180
|
+
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10181
|
+
"declaringAssemblyName": "Tsonic.JSRuntime"
|
|
10182
|
+
},
|
|
10183
|
+
"undefined": {
|
|
10184
|
+
"kind": "field",
|
|
10185
|
+
"clrName": "undefined",
|
|
10186
|
+
"declaringClrType": "Tsonic.JSRuntime.Globals",
|
|
10187
|
+
"declaringAssemblyName": "Tsonic.JSRuntime"
|
|
10214
10188
|
}
|
|
10215
|
-
|
|
10189
|
+
}
|
|
10216
10190
|
}
|
|
@@ -7,17 +7,17 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
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";
|
|
10
|
+
import type { IEnumerable_1 as IEnumerable__System_Collections_Generic, IEnumerator_1 as IEnumerator, KeyValuePair_2 as KeyValuePair, List_1 as List } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
11
11
|
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
12
12
|
import type { IEnumerable } from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
13
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";
|
|
14
|
+
import type { Action, Action_1, Action_2, Action_3, Boolean as ClrBoolean, Byte, Comparison_1 as Comparison, Double, Func_2 as Func, Func_3, Func_4, Func_5, Int16, Int32, Int64, Nullable_1 as Nullable, Object as ClrObject, SByte, Single, String as ClrString, UInt16, UInt32, ValueTuple_2 as ValueTuple, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
15
15
|
|
|
16
16
|
export interface ArrayBuffer$instance {
|
|
17
17
|
readonly __tsonic_type_Tsonic_JSRuntime_ArrayBuffer: never;
|
|
18
18
|
|
|
19
19
|
readonly byteLength: int;
|
|
20
|
-
slice(begin?: int, end?:
|
|
20
|
+
slice(begin?: int, end?: Nullable<System_Internal.Int32>): ArrayBuffer;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
|
|
@@ -50,20 +50,20 @@ export interface Date$instance {
|
|
|
50
50
|
getUTCMonth(): int;
|
|
51
51
|
getUTCSeconds(): int;
|
|
52
52
|
setDate(day: int): double;
|
|
53
|
-
setFullYear(year: int, month?:
|
|
54
|
-
setHours(hour: int, min?:
|
|
53
|
+
setFullYear(year: int, month?: Nullable<System_Internal.Int32>, day?: Nullable<System_Internal.Int32>): double;
|
|
54
|
+
setHours(hour: int, min?: Nullable<System_Internal.Int32>, sec?: Nullable<System_Internal.Int32>, ms?: Nullable<System_Internal.Int32>): double;
|
|
55
55
|
setMilliseconds(ms: int): double;
|
|
56
|
-
setMinutes(min: int, sec?:
|
|
57
|
-
setMonth(month: int, day?:
|
|
58
|
-
setSeconds(sec: int, ms?:
|
|
56
|
+
setMinutes(min: int, sec?: Nullable<System_Internal.Int32>, ms?: Nullable<System_Internal.Int32>): double;
|
|
57
|
+
setMonth(month: int, day?: Nullable<System_Internal.Int32>): double;
|
|
58
|
+
setSeconds(sec: int, ms?: Nullable<System_Internal.Int32>): double;
|
|
59
59
|
setTime(milliseconds: double): double;
|
|
60
60
|
setUTCDate(day: int): double;
|
|
61
|
-
setUTCFullYear(year: int, month?:
|
|
62
|
-
setUTCHours(hour: int, min?:
|
|
61
|
+
setUTCFullYear(year: int, month?: Nullable<System_Internal.Int32>, day?: Nullable<System_Internal.Int32>): double;
|
|
62
|
+
setUTCHours(hour: int, min?: Nullable<System_Internal.Int32>, sec?: Nullable<System_Internal.Int32>, ms?: Nullable<System_Internal.Int32>): double;
|
|
63
63
|
setUTCMilliseconds(ms: int): double;
|
|
64
|
-
setUTCMinutes(min: int, sec?:
|
|
65
|
-
setUTCMonth(month: int, day?:
|
|
66
|
-
setUTCSeconds(sec: int, ms?:
|
|
64
|
+
setUTCMinutes(min: int, sec?: Nullable<System_Internal.Int32>, ms?: Nullable<System_Internal.Int32>): double;
|
|
65
|
+
setUTCMonth(month: int, day?: Nullable<System_Internal.Int32>): double;
|
|
66
|
+
setUTCSeconds(sec: int, ms?: Nullable<System_Internal.Int32>): double;
|
|
67
67
|
toDateString(): string;
|
|
68
68
|
toISOString(): string;
|
|
69
69
|
toJSON(): string;
|
|
@@ -97,31 +97,30 @@ export interface Float32Array$instance {
|
|
|
97
97
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
98
98
|
|
|
99
99
|
readonly byteLength: int;
|
|
100
|
-
[index: number]: float;
|
|
101
100
|
readonly length: int;
|
|
102
|
-
at(index: int):
|
|
103
|
-
fill(value: float, start?: int, end?:
|
|
104
|
-
GetEnumerator():
|
|
101
|
+
at(index: int): Nullable<System_Internal.Single>;
|
|
102
|
+
fill(value: float, start?: int, end?: Nullable<System_Internal.Int32>): Float32Array;
|
|
103
|
+
GetEnumerator(): IEnumerator<System_Internal.Single>;
|
|
105
104
|
includes(value: float, fromIndex?: int): boolean;
|
|
106
105
|
indexOf(value: float, fromIndex?: int): int;
|
|
107
106
|
join(separator?: string): string;
|
|
108
107
|
reverse(): Float32Array;
|
|
109
|
-
set(array:
|
|
110
|
-
slice(begin?: int, end?:
|
|
111
|
-
sort(compareFn?:
|
|
112
|
-
subarray(begin?: int, end?:
|
|
108
|
+
set(array: IEnumerable__System_Collections_Generic<System_Internal.Single>, offset?: int): void;
|
|
109
|
+
slice(begin?: int, end?: Nullable<System_Internal.Int32>): Float32Array;
|
|
110
|
+
sort(compareFn?: Comparison<System_Internal.Single>): Float32Array;
|
|
111
|
+
subarray(begin?: int, end?: Nullable<System_Internal.Int32>): Float32Array;
|
|
113
112
|
}
|
|
114
113
|
|
|
115
114
|
|
|
116
115
|
export const Float32Array: {
|
|
117
116
|
new(length: int): Float32Array;
|
|
118
|
-
new(values:
|
|
117
|
+
new(values: IEnumerable__System_Collections_Generic<System_Internal.Single>): Float32Array;
|
|
119
118
|
new(values: float[]): Float32Array;
|
|
120
119
|
readonly BYTES_PER_ELEMENT: int;
|
|
121
120
|
};
|
|
122
121
|
|
|
123
122
|
|
|
124
|
-
export type Float32Array = Float32Array$instance;
|
|
123
|
+
export type Float32Array = Float32Array$instance & { [index: number]: float; };
|
|
125
124
|
|
|
126
125
|
export interface Float64Array$instance {
|
|
127
126
|
readonly __tsonic_type_Tsonic_JSRuntime_Float64Array: never;
|
|
@@ -130,31 +129,30 @@ export interface Float64Array$instance {
|
|
|
130
129
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
131
130
|
|
|
132
131
|
readonly byteLength: int;
|
|
133
|
-
[index: number]: double;
|
|
134
132
|
readonly length: int;
|
|
135
|
-
at(index: int):
|
|
136
|
-
fill(value: double, start?: int, end?:
|
|
137
|
-
GetEnumerator():
|
|
133
|
+
at(index: int): Nullable<System_Internal.Double>;
|
|
134
|
+
fill(value: double, start?: int, end?: Nullable<System_Internal.Int32>): Float64Array;
|
|
135
|
+
GetEnumerator(): IEnumerator<System_Internal.Double>;
|
|
138
136
|
includes(value: double, fromIndex?: int): boolean;
|
|
139
137
|
indexOf(value: double, fromIndex?: int): int;
|
|
140
138
|
join(separator?: string): string;
|
|
141
139
|
reverse(): Float64Array;
|
|
142
|
-
set(array:
|
|
143
|
-
slice(begin?: int, end?:
|
|
144
|
-
sort(compareFn?:
|
|
145
|
-
subarray(begin?: int, end?:
|
|
140
|
+
set(array: IEnumerable__System_Collections_Generic<System_Internal.Double>, offset?: int): void;
|
|
141
|
+
slice(begin?: int, end?: Nullable<System_Internal.Int32>): Float64Array;
|
|
142
|
+
sort(compareFn?: Comparison<System_Internal.Double>): Float64Array;
|
|
143
|
+
subarray(begin?: int, end?: Nullable<System_Internal.Int32>): Float64Array;
|
|
146
144
|
}
|
|
147
145
|
|
|
148
146
|
|
|
149
147
|
export const Float64Array: {
|
|
150
148
|
new(length: int): Float64Array;
|
|
151
|
-
new(values:
|
|
149
|
+
new(values: IEnumerable__System_Collections_Generic<System_Internal.Double>): Float64Array;
|
|
152
150
|
new(values: double[]): Float64Array;
|
|
153
151
|
readonly BYTES_PER_ELEMENT: int;
|
|
154
152
|
};
|
|
155
153
|
|
|
156
154
|
|
|
157
|
-
export type Float64Array = Float64Array$instance;
|
|
155
|
+
export type Float64Array = Float64Array$instance & { [index: number]: double; };
|
|
158
156
|
|
|
159
157
|
export interface Int16Array$instance {
|
|
160
158
|
readonly __tsonic_type_Tsonic_JSRuntime_Int16Array: never;
|
|
@@ -163,31 +161,30 @@ export interface Int16Array$instance {
|
|
|
163
161
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
164
162
|
|
|
165
163
|
readonly byteLength: int;
|
|
166
|
-
[index: number]: short;
|
|
167
164
|
readonly length: int;
|
|
168
|
-
at(index: int):
|
|
169
|
-
fill(value: short, start?: int, end?:
|
|
170
|
-
GetEnumerator():
|
|
165
|
+
at(index: int): Nullable<System_Internal.Int16>;
|
|
166
|
+
fill(value: short, start?: int, end?: Nullable<System_Internal.Int32>): Int16Array;
|
|
167
|
+
GetEnumerator(): IEnumerator<System_Internal.Int16>;
|
|
171
168
|
includes(value: short, fromIndex?: int): boolean;
|
|
172
169
|
indexOf(value: short, fromIndex?: int): int;
|
|
173
170
|
join(separator?: string): string;
|
|
174
171
|
reverse(): Int16Array;
|
|
175
|
-
set(array:
|
|
176
|
-
slice(begin?: int, end?:
|
|
177
|
-
sort(compareFn?:
|
|
178
|
-
subarray(begin?: int, end?:
|
|
172
|
+
set(array: IEnumerable__System_Collections_Generic<System_Internal.Int16>, offset?: int): void;
|
|
173
|
+
slice(begin?: int, end?: Nullable<System_Internal.Int32>): Int16Array;
|
|
174
|
+
sort(compareFn?: Comparison<System_Internal.Int16>): Int16Array;
|
|
175
|
+
subarray(begin?: int, end?: Nullable<System_Internal.Int32>): Int16Array;
|
|
179
176
|
}
|
|
180
177
|
|
|
181
178
|
|
|
182
179
|
export const Int16Array: {
|
|
183
180
|
new(length: int): Int16Array;
|
|
184
|
-
new(values:
|
|
181
|
+
new(values: IEnumerable__System_Collections_Generic<System_Internal.Int16>): Int16Array;
|
|
185
182
|
new(values: short[]): Int16Array;
|
|
186
183
|
readonly BYTES_PER_ELEMENT: int;
|
|
187
184
|
};
|
|
188
185
|
|
|
189
186
|
|
|
190
|
-
export type Int16Array = Int16Array$instance;
|
|
187
|
+
export type Int16Array = Int16Array$instance & { [index: number]: short; };
|
|
191
188
|
|
|
192
189
|
export interface Int32Array$instance {
|
|
193
190
|
readonly __tsonic_type_Tsonic_JSRuntime_Int32Array: never;
|
|
@@ -196,31 +193,30 @@ export interface Int32Array$instance {
|
|
|
196
193
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
197
194
|
|
|
198
195
|
readonly byteLength: int;
|
|
199
|
-
[index: number]: int;
|
|
200
196
|
readonly length: int;
|
|
201
|
-
at(index: int):
|
|
202
|
-
fill(value: int, start?: int, end?:
|
|
203
|
-
GetEnumerator():
|
|
197
|
+
at(index: int): Nullable<System_Internal.Int32>;
|
|
198
|
+
fill(value: int, start?: int, end?: Nullable<System_Internal.Int32>): Int32Array;
|
|
199
|
+
GetEnumerator(): IEnumerator<System_Internal.Int32>;
|
|
204
200
|
includes(value: int, fromIndex?: int): boolean;
|
|
205
201
|
indexOf(value: int, fromIndex?: int): int;
|
|
206
202
|
join(separator?: string): string;
|
|
207
203
|
reverse(): Int32Array;
|
|
208
|
-
set(array:
|
|
209
|
-
slice(begin?: int, end?:
|
|
210
|
-
sort(compareFn?:
|
|
211
|
-
subarray(begin?: int, end?:
|
|
204
|
+
set(array: IEnumerable__System_Collections_Generic<System_Internal.Int32>, offset?: int): void;
|
|
205
|
+
slice(begin?: int, end?: Nullable<System_Internal.Int32>): Int32Array;
|
|
206
|
+
sort(compareFn?: Comparison<System_Internal.Int32>): Int32Array;
|
|
207
|
+
subarray(begin?: int, end?: Nullable<System_Internal.Int32>): Int32Array;
|
|
212
208
|
}
|
|
213
209
|
|
|
214
210
|
|
|
215
211
|
export const Int32Array: {
|
|
216
212
|
new(length: int): Int32Array;
|
|
217
|
-
new(values:
|
|
213
|
+
new(values: IEnumerable__System_Collections_Generic<System_Internal.Int32>): Int32Array;
|
|
218
214
|
new(values: int[]): Int32Array;
|
|
219
215
|
readonly BYTES_PER_ELEMENT: int;
|
|
220
216
|
};
|
|
221
217
|
|
|
222
218
|
|
|
223
|
-
export type Int32Array = Int32Array$instance;
|
|
219
|
+
export type Int32Array = Int32Array$instance & { [index: number]: int; };
|
|
224
220
|
|
|
225
221
|
export interface Int8Array$instance {
|
|
226
222
|
readonly __tsonic_type_Tsonic_JSRuntime_Int8Array: never;
|
|
@@ -229,31 +225,30 @@ export interface Int8Array$instance {
|
|
|
229
225
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
230
226
|
|
|
231
227
|
readonly byteLength: int;
|
|
232
|
-
[index: number]: sbyte;
|
|
233
228
|
readonly length: int;
|
|
234
|
-
at(index: int):
|
|
235
|
-
fill(value: sbyte, start?: int, end?:
|
|
236
|
-
GetEnumerator():
|
|
229
|
+
at(index: int): Nullable<System_Internal.SByte>;
|
|
230
|
+
fill(value: sbyte, start?: int, end?: Nullable<System_Internal.Int32>): Int8Array;
|
|
231
|
+
GetEnumerator(): IEnumerator<System_Internal.SByte>;
|
|
237
232
|
includes(value: sbyte, fromIndex?: int): boolean;
|
|
238
233
|
indexOf(value: sbyte, fromIndex?: int): int;
|
|
239
234
|
join(separator?: string): string;
|
|
240
235
|
reverse(): Int8Array;
|
|
241
|
-
set(array:
|
|
242
|
-
slice(begin?: int, end?:
|
|
243
|
-
sort(compareFn?:
|
|
244
|
-
subarray(begin?: int, end?:
|
|
236
|
+
set(array: IEnumerable__System_Collections_Generic<System_Internal.SByte>, offset?: int): void;
|
|
237
|
+
slice(begin?: int, end?: Nullable<System_Internal.Int32>): Int8Array;
|
|
238
|
+
sort(compareFn?: Comparison<System_Internal.SByte>): Int8Array;
|
|
239
|
+
subarray(begin?: int, end?: Nullable<System_Internal.Int32>): Int8Array;
|
|
245
240
|
}
|
|
246
241
|
|
|
247
242
|
|
|
248
243
|
export const Int8Array: {
|
|
249
244
|
new(length: int): Int8Array;
|
|
250
|
-
new(values:
|
|
245
|
+
new(values: IEnumerable__System_Collections_Generic<System_Internal.SByte>): Int8Array;
|
|
251
246
|
new(values: sbyte[]): Int8Array;
|
|
252
247
|
readonly BYTES_PER_ELEMENT: int;
|
|
253
248
|
};
|
|
254
249
|
|
|
255
250
|
|
|
256
|
-
export type Int8Array = Int8Array$instance;
|
|
251
|
+
export type Int8Array = Int8Array$instance & { [index: number]: sbyte; };
|
|
257
252
|
|
|
258
253
|
export interface JSArray_1$instance<T> {
|
|
259
254
|
readonly __tsonic_type_Tsonic_JSRuntime_JSArray_1: never;
|
|
@@ -261,28 +256,27 @@ export interface JSArray_1$instance<T> {
|
|
|
261
256
|
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
262
257
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
263
258
|
|
|
264
|
-
[index: number]: T;
|
|
265
259
|
readonly length: int;
|
|
266
260
|
at(index: int): T;
|
|
267
261
|
concat(...items: unknown[]): JSArray_1<T>;
|
|
268
|
-
copyWithin(target: int, start?: int, end?:
|
|
269
|
-
entries():
|
|
270
|
-
every(callback:
|
|
262
|
+
copyWithin(target: int, start?: int, end?: Nullable<System_Internal.Int32>): JSArray_1<T>;
|
|
263
|
+
entries(): IEnumerable__System_Collections_Generic<ValueTuple<System_Internal.Int32, T>>;
|
|
264
|
+
every(callback: Func<T, System_Internal.Boolean>): boolean;
|
|
271
265
|
every(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): boolean;
|
|
272
|
-
fill(value: T, start?: int, end?:
|
|
273
|
-
filter(callback:
|
|
266
|
+
fill(value: T, start?: int, end?: Nullable<System_Internal.Int32>): JSArray_1<T>;
|
|
267
|
+
filter(callback: Func<T, System_Internal.Boolean>): JSArray_1<T>;
|
|
274
268
|
filter(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): JSArray_1<T>;
|
|
275
269
|
filter(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): JSArray_1<T>;
|
|
276
|
-
find(callback:
|
|
270
|
+
find(callback: Func<T, System_Internal.Boolean>): T;
|
|
277
271
|
find(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): T;
|
|
278
272
|
find(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): T;
|
|
279
|
-
findIndex(callback:
|
|
273
|
+
findIndex(callback: Func<T, System_Internal.Boolean>): int;
|
|
280
274
|
findIndex(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): int;
|
|
281
275
|
findIndex(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): int;
|
|
282
|
-
findLast(callback:
|
|
276
|
+
findLast(callback: Func<T, System_Internal.Boolean>): T;
|
|
283
277
|
findLast(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): T;
|
|
284
278
|
findLast(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): T;
|
|
285
|
-
findLastIndex(callback:
|
|
279
|
+
findLastIndex(callback: Func<T, System_Internal.Boolean>): int;
|
|
286
280
|
findLastIndex(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): int;
|
|
287
281
|
findLastIndex(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): int;
|
|
288
282
|
flat(depth?: int): JSArray_1<unknown>;
|
|
@@ -290,13 +284,13 @@ export interface JSArray_1$instance<T> {
|
|
|
290
284
|
forEach(callback: Action_1<T>): void;
|
|
291
285
|
forEach(callback: Action_2<T, System_Internal.Int32>): void;
|
|
292
286
|
forEach(callback: Action_3<T, System_Internal.Int32, JSArray_1<T>>): void;
|
|
293
|
-
GetEnumerator():
|
|
287
|
+
GetEnumerator(): IEnumerator<T>;
|
|
294
288
|
includes(searchElement: T): boolean;
|
|
295
289
|
indexOf(searchElement: T, fromIndex?: int): int;
|
|
296
290
|
join(separator?: string): string;
|
|
297
|
-
keys():
|
|
298
|
-
lastIndexOf(searchElement: T, fromIndex?:
|
|
299
|
-
map<TResult>(callback:
|
|
291
|
+
keys(): IEnumerable__System_Collections_Generic<System_Internal.Int32>;
|
|
292
|
+
lastIndexOf(searchElement: T, fromIndex?: Nullable<System_Internal.Int32>): int;
|
|
293
|
+
map<TResult>(callback: Func<T, TResult>): JSArray_1<TResult>;
|
|
300
294
|
map<TResult>(callback: Func_3<T, System_Internal.Int32, TResult>): JSArray_1<TResult>;
|
|
301
295
|
map<TResult>(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, TResult>): JSArray_1<TResult>;
|
|
302
296
|
pop(): T;
|
|
@@ -312,21 +306,21 @@ export interface JSArray_1$instance<T> {
|
|
|
312
306
|
reverse(): JSArray_1<T>;
|
|
313
307
|
setLength(newLength: int): void;
|
|
314
308
|
shift(): T;
|
|
315
|
-
slice(start?: int, end?:
|
|
316
|
-
some(callback:
|
|
309
|
+
slice(start?: int, end?: Nullable<System_Internal.Int32>): JSArray_1<T>;
|
|
310
|
+
some(callback: Func<T, System_Internal.Boolean>): boolean;
|
|
317
311
|
some(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): boolean;
|
|
318
312
|
sort(compareFunc?: Func_3<T, T, System_Internal.Double>): JSArray_1<T>;
|
|
319
|
-
splice(start: int, deleteCount?:
|
|
313
|
+
splice(start: int, deleteCount?: Nullable<System_Internal.Int32>, ...items: T[]): JSArray_1<T>;
|
|
320
314
|
toArray(): T[];
|
|
321
|
-
toList():
|
|
315
|
+
toList(): List<T>;
|
|
322
316
|
toLocaleString(): string;
|
|
323
317
|
toReversed(): JSArray_1<T>;
|
|
324
318
|
toSorted(compareFunc?: Func_3<T, T, System_Internal.Double>): JSArray_1<T>;
|
|
325
|
-
toSpliced(start: int, deleteCount?:
|
|
319
|
+
toSpliced(start: int, deleteCount?: Nullable<System_Internal.Int32>, ...items: T[]): JSArray_1<T>;
|
|
326
320
|
ToString(): string;
|
|
327
321
|
unshift(item: T): int;
|
|
328
322
|
unshift(...items: T[]): int;
|
|
329
|
-
values():
|
|
323
|
+
values(): IEnumerable__System_Collections_Generic<T>;
|
|
330
324
|
with(index: int, value: T): JSArray_1<T>;
|
|
331
325
|
}
|
|
332
326
|
|
|
@@ -335,16 +329,16 @@ export const JSArray_1: {
|
|
|
335
329
|
new<T>(): JSArray_1<T>;
|
|
336
330
|
new<T>(capacity: int): JSArray_1<T>;
|
|
337
331
|
new<T>(source: T[]): JSArray_1<T>;
|
|
338
|
-
new<T>(source:
|
|
339
|
-
new<T>(source:
|
|
340
|
-
from<T, TSource, TResult>(iterable:
|
|
341
|
-
from<T>(iterable:
|
|
332
|
+
new<T>(source: List<T>): JSArray_1<T>;
|
|
333
|
+
new<T>(source: IEnumerable__System_Collections_Generic<T>): JSArray_1<T>;
|
|
334
|
+
from<T, TSource, TResult>(iterable: IEnumerable__System_Collections_Generic<TSource>, mapFunc: Func_3<TSource, System_Internal.Int32, TResult>): JSArray_1<TResult>;
|
|
335
|
+
from<T>(iterable: IEnumerable__System_Collections_Generic<T>): JSArray_1<T>;
|
|
342
336
|
isArray<T>(value: unknown): boolean;
|
|
343
337
|
of<T>(...items: T[]): JSArray_1<T>;
|
|
344
338
|
};
|
|
345
339
|
|
|
346
340
|
|
|
347
|
-
export type JSArray_1<T> = JSArray_1$instance<T
|
|
341
|
+
export type JSArray_1<T> = JSArray_1$instance<T> & { [index: number]: T; };
|
|
348
342
|
|
|
349
343
|
export interface Map_2$instance<K, V> {
|
|
350
344
|
readonly __tsonic_type_Tsonic_JSRuntime_Map_2: never;
|
|
@@ -355,22 +349,22 @@ export interface Map_2$instance<K, V> {
|
|
|
355
349
|
readonly size: int;
|
|
356
350
|
clear(): void;
|
|
357
351
|
delete(key: K): boolean;
|
|
358
|
-
entries():
|
|
352
|
+
entries(): IEnumerable__System_Collections_Generic<ValueTuple<K, V>>;
|
|
359
353
|
forEach(callback: Action_3<V, K, Map_2<K, V>>): void;
|
|
360
354
|
forEach(callback: Action_2<V, K>): void;
|
|
361
355
|
forEach(callback: Action_1<V>): void;
|
|
362
356
|
get(key: K): V | undefined;
|
|
363
|
-
GetEnumerator():
|
|
357
|
+
GetEnumerator(): IEnumerator<KeyValuePair<K, V>>;
|
|
364
358
|
has(key: K): boolean;
|
|
365
|
-
keys():
|
|
359
|
+
keys(): IEnumerable__System_Collections_Generic<K>;
|
|
366
360
|
set(key: K, value: V): Map_2<K, V>;
|
|
367
|
-
values():
|
|
361
|
+
values(): IEnumerable__System_Collections_Generic<V>;
|
|
368
362
|
}
|
|
369
363
|
|
|
370
364
|
|
|
371
365
|
export const Map_2: {
|
|
372
366
|
new<K, V>(): Map_2<K, V>;
|
|
373
|
-
new<K, V>(entries:
|
|
367
|
+
new<K, V>(entries: IEnumerable__System_Collections_Generic<ValueTuple<K, V>>): Map_2<K, V>;
|
|
374
368
|
};
|
|
375
369
|
|
|
376
370
|
|
|
@@ -408,7 +402,6 @@ export interface RegExpMatchResult$instance {
|
|
|
408
402
|
readonly groups: (string | undefined)[];
|
|
409
403
|
readonly index: int;
|
|
410
404
|
readonly input: string;
|
|
411
|
-
readonly [groupIndex: number]: string | undefined;
|
|
412
405
|
readonly length: int;
|
|
413
406
|
readonly value: string;
|
|
414
407
|
}
|
|
@@ -419,7 +412,7 @@ export const RegExpMatchResult: {
|
|
|
419
412
|
};
|
|
420
413
|
|
|
421
414
|
|
|
422
|
-
export type RegExpMatchResult = RegExpMatchResult$instance;
|
|
415
|
+
export type RegExpMatchResult = RegExpMatchResult$instance & { readonly [groupIndex: number]: string | undefined; };
|
|
423
416
|
|
|
424
417
|
export interface Set_1$instance<T> {
|
|
425
418
|
readonly __tsonic_type_Tsonic_JSRuntime_Set_1: never;
|
|
@@ -432,26 +425,26 @@ export interface Set_1$instance<T> {
|
|
|
432
425
|
clear(): void;
|
|
433
426
|
delete(value: T): boolean;
|
|
434
427
|
difference(other: Set_1<T>): Set_1<T>;
|
|
435
|
-
entries():
|
|
428
|
+
entries(): IEnumerable__System_Collections_Generic<ValueTuple<T, T>>;
|
|
436
429
|
forEach(callback: Action_3<T, T, Set_1<T>>): void;
|
|
437
430
|
forEach(callback: Action_2<T, T>): void;
|
|
438
431
|
forEach(callback: Action_1<T>): void;
|
|
439
|
-
GetEnumerator():
|
|
432
|
+
GetEnumerator(): IEnumerator<T>;
|
|
440
433
|
has(value: T): boolean;
|
|
441
434
|
intersection(other: Set_1<T>): Set_1<T>;
|
|
442
435
|
isDisjointFrom(other: Set_1<T>): boolean;
|
|
443
436
|
isSubsetOf(other: Set_1<T>): boolean;
|
|
444
437
|
isSupersetOf(other: Set_1<T>): boolean;
|
|
445
|
-
keys():
|
|
438
|
+
keys(): IEnumerable__System_Collections_Generic<T>;
|
|
446
439
|
symmetricDifference(other: Set_1<T>): Set_1<T>;
|
|
447
440
|
union(other: Set_1<T>): Set_1<T>;
|
|
448
|
-
values():
|
|
441
|
+
values(): IEnumerable__System_Collections_Generic<T>;
|
|
449
442
|
}
|
|
450
443
|
|
|
451
444
|
|
|
452
445
|
export const Set_1: {
|
|
453
446
|
new<T>(): Set_1<T>;
|
|
454
|
-
new<T>(values:
|
|
447
|
+
new<T>(values: IEnumerable__System_Collections_Generic<T>): Set_1<T>;
|
|
455
448
|
};
|
|
456
449
|
|
|
457
450
|
|
|
@@ -464,31 +457,30 @@ export interface Uint16Array$instance {
|
|
|
464
457
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
465
458
|
|
|
466
459
|
readonly byteLength: int;
|
|
467
|
-
[index: number]: ushort;
|
|
468
460
|
readonly length: int;
|
|
469
|
-
at(index: int):
|
|
470
|
-
fill(value: ushort, start?: int, end?:
|
|
471
|
-
GetEnumerator():
|
|
461
|
+
at(index: int): Nullable<System_Internal.UInt16>;
|
|
462
|
+
fill(value: ushort, start?: int, end?: Nullable<System_Internal.Int32>): Uint16Array;
|
|
463
|
+
GetEnumerator(): IEnumerator<System_Internal.UInt16>;
|
|
472
464
|
includes(value: ushort, fromIndex?: int): boolean;
|
|
473
465
|
indexOf(value: ushort, fromIndex?: int): int;
|
|
474
466
|
join(separator?: string): string;
|
|
475
467
|
reverse(): Uint16Array;
|
|
476
|
-
set(array:
|
|
477
|
-
slice(begin?: int, end?:
|
|
478
|
-
sort(compareFn?:
|
|
479
|
-
subarray(begin?: int, end?:
|
|
468
|
+
set(array: IEnumerable__System_Collections_Generic<System_Internal.UInt16>, offset?: int): void;
|
|
469
|
+
slice(begin?: int, end?: Nullable<System_Internal.Int32>): Uint16Array;
|
|
470
|
+
sort(compareFn?: Comparison<System_Internal.UInt16>): Uint16Array;
|
|
471
|
+
subarray(begin?: int, end?: Nullable<System_Internal.Int32>): Uint16Array;
|
|
480
472
|
}
|
|
481
473
|
|
|
482
474
|
|
|
483
475
|
export const Uint16Array: {
|
|
484
476
|
new(length: int): Uint16Array;
|
|
485
|
-
new(values:
|
|
477
|
+
new(values: IEnumerable__System_Collections_Generic<System_Internal.UInt16>): Uint16Array;
|
|
486
478
|
new(values: ushort[]): Uint16Array;
|
|
487
479
|
readonly BYTES_PER_ELEMENT: int;
|
|
488
480
|
};
|
|
489
481
|
|
|
490
482
|
|
|
491
|
-
export type Uint16Array = Uint16Array$instance;
|
|
483
|
+
export type Uint16Array = Uint16Array$instance & { [index: number]: ushort; };
|
|
492
484
|
|
|
493
485
|
export interface Uint32Array$instance {
|
|
494
486
|
readonly __tsonic_type_Tsonic_JSRuntime_Uint32Array: never;
|
|
@@ -497,31 +489,30 @@ export interface Uint32Array$instance {
|
|
|
497
489
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
498
490
|
|
|
499
491
|
readonly byteLength: int;
|
|
500
|
-
[index: number]: uint;
|
|
501
492
|
readonly length: int;
|
|
502
|
-
at(index: int):
|
|
503
|
-
fill(value: uint, start?: int, end?:
|
|
504
|
-
GetEnumerator():
|
|
493
|
+
at(index: int): Nullable<System_Internal.UInt32>;
|
|
494
|
+
fill(value: uint, start?: int, end?: Nullable<System_Internal.Int32>): Uint32Array;
|
|
495
|
+
GetEnumerator(): IEnumerator<System_Internal.UInt32>;
|
|
505
496
|
includes(value: uint, fromIndex?: int): boolean;
|
|
506
497
|
indexOf(value: uint, fromIndex?: int): int;
|
|
507
498
|
join(separator?: string): string;
|
|
508
499
|
reverse(): Uint32Array;
|
|
509
|
-
set(array:
|
|
510
|
-
slice(begin?: int, end?:
|
|
511
|
-
sort(compareFn?:
|
|
512
|
-
subarray(begin?: int, end?:
|
|
500
|
+
set(array: IEnumerable__System_Collections_Generic<System_Internal.UInt32>, offset?: int): void;
|
|
501
|
+
slice(begin?: int, end?: Nullable<System_Internal.Int32>): Uint32Array;
|
|
502
|
+
sort(compareFn?: Comparison<System_Internal.UInt32>): Uint32Array;
|
|
503
|
+
subarray(begin?: int, end?: Nullable<System_Internal.Int32>): Uint32Array;
|
|
513
504
|
}
|
|
514
505
|
|
|
515
506
|
|
|
516
507
|
export const Uint32Array: {
|
|
517
508
|
new(length: int): Uint32Array;
|
|
518
|
-
new(values:
|
|
509
|
+
new(values: IEnumerable__System_Collections_Generic<System_Internal.UInt32>): Uint32Array;
|
|
519
510
|
new(values: uint[]): Uint32Array;
|
|
520
511
|
readonly BYTES_PER_ELEMENT: int;
|
|
521
512
|
};
|
|
522
513
|
|
|
523
514
|
|
|
524
|
-
export type Uint32Array = Uint32Array$instance;
|
|
515
|
+
export type Uint32Array = Uint32Array$instance & { [index: number]: uint; };
|
|
525
516
|
|
|
526
517
|
export interface Uint8Array$instance {
|
|
527
518
|
readonly __tsonic_type_Tsonic_JSRuntime_Uint8Array: never;
|
|
@@ -530,31 +521,30 @@ export interface Uint8Array$instance {
|
|
|
530
521
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
531
522
|
|
|
532
523
|
readonly byteLength: int;
|
|
533
|
-
[index: number]: byte;
|
|
534
524
|
readonly length: int;
|
|
535
|
-
at(index: int):
|
|
536
|
-
fill(value: byte, start?: int, end?:
|
|
537
|
-
GetEnumerator():
|
|
525
|
+
at(index: int): Nullable<System_Internal.Byte>;
|
|
526
|
+
fill(value: byte, start?: int, end?: Nullable<System_Internal.Int32>): Uint8Array;
|
|
527
|
+
GetEnumerator(): IEnumerator<System_Internal.Byte>;
|
|
538
528
|
includes(value: byte, fromIndex?: int): boolean;
|
|
539
529
|
indexOf(value: byte, fromIndex?: int): int;
|
|
540
530
|
join(separator?: string): string;
|
|
541
531
|
reverse(): Uint8Array;
|
|
542
|
-
set(array:
|
|
543
|
-
slice(begin?: int, end?:
|
|
544
|
-
sort(compareFn?:
|
|
545
|
-
subarray(begin?: int, end?:
|
|
532
|
+
set(array: IEnumerable__System_Collections_Generic<System_Internal.Byte>, offset?: int): void;
|
|
533
|
+
slice(begin?: int, end?: Nullable<System_Internal.Int32>): Uint8Array;
|
|
534
|
+
sort(compareFn?: Comparison<System_Internal.Byte>): Uint8Array;
|
|
535
|
+
subarray(begin?: int, end?: Nullable<System_Internal.Int32>): Uint8Array;
|
|
546
536
|
}
|
|
547
537
|
|
|
548
538
|
|
|
549
539
|
export const Uint8Array: {
|
|
550
540
|
new(length: int): Uint8Array;
|
|
551
|
-
new(values:
|
|
541
|
+
new(values: IEnumerable__System_Collections_Generic<System_Internal.Byte>): Uint8Array;
|
|
552
542
|
new(values: byte[]): Uint8Array;
|
|
553
543
|
readonly BYTES_PER_ELEMENT: int;
|
|
554
544
|
};
|
|
555
545
|
|
|
556
546
|
|
|
557
|
-
export type Uint8Array = Uint8Array$instance;
|
|
547
|
+
export type Uint8Array = Uint8Array$instance & { [index: number]: byte; };
|
|
558
548
|
|
|
559
549
|
export interface Uint8ClampedArray$instance {
|
|
560
550
|
readonly __tsonic_type_Tsonic_JSRuntime_Uint8ClampedArray: never;
|
|
@@ -563,32 +553,31 @@ export interface Uint8ClampedArray$instance {
|
|
|
563
553
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
564
554
|
|
|
565
555
|
readonly byteLength: int;
|
|
566
|
-
[index: number]: byte;
|
|
567
556
|
readonly length: int;
|
|
568
|
-
at(index: int):
|
|
569
|
-
fill(value: byte, start?: int, end?:
|
|
570
|
-
GetEnumerator():
|
|
557
|
+
at(index: int): Nullable<System_Internal.Byte>;
|
|
558
|
+
fill(value: byte, start?: int, end?: Nullable<System_Internal.Int32>): Uint8ClampedArray;
|
|
559
|
+
GetEnumerator(): IEnumerator<System_Internal.Byte>;
|
|
571
560
|
includes(value: byte, fromIndex?: int): boolean;
|
|
572
561
|
indexOf(value: byte, fromIndex?: int): int;
|
|
573
562
|
join(separator?: string): string;
|
|
574
563
|
reverse(): Uint8ClampedArray;
|
|
575
|
-
set(array:
|
|
564
|
+
set(array: IEnumerable__System_Collections_Generic<System_Internal.Byte>, offset?: int): void;
|
|
576
565
|
SetClamped(index: int, value: int): void;
|
|
577
|
-
slice(begin?: int, end?:
|
|
578
|
-
sort(compareFn?:
|
|
579
|
-
subarray(begin?: int, end?:
|
|
566
|
+
slice(begin?: int, end?: Nullable<System_Internal.Int32>): Uint8ClampedArray;
|
|
567
|
+
sort(compareFn?: Comparison<System_Internal.Byte>): Uint8ClampedArray;
|
|
568
|
+
subarray(begin?: int, end?: Nullable<System_Internal.Int32>): Uint8ClampedArray;
|
|
580
569
|
}
|
|
581
570
|
|
|
582
571
|
|
|
583
572
|
export const Uint8ClampedArray: {
|
|
584
573
|
new(length: int): Uint8ClampedArray;
|
|
585
|
-
new(values:
|
|
574
|
+
new(values: IEnumerable__System_Collections_Generic<System_Internal.Byte>): Uint8ClampedArray;
|
|
586
575
|
new(values: byte[]): Uint8ClampedArray;
|
|
587
576
|
readonly BYTES_PER_ELEMENT: int;
|
|
588
577
|
};
|
|
589
578
|
|
|
590
579
|
|
|
591
|
-
export type Uint8ClampedArray = Uint8ClampedArray$instance;
|
|
580
|
+
export type Uint8ClampedArray = Uint8ClampedArray$instance & { [index: number]: byte; };
|
|
592
581
|
|
|
593
582
|
export interface WeakMap_2$instance<K, V> {
|
|
594
583
|
readonly __tsonic_type_Tsonic_JSRuntime_WeakMap_2: never;
|
|
@@ -661,7 +650,7 @@ export abstract class Globals$instance {
|
|
|
661
650
|
static isNaN(value: double): boolean;
|
|
662
651
|
static Number(value: unknown): double;
|
|
663
652
|
static parseFloat(str: string): double;
|
|
664
|
-
static parseInt(str: string, radix?:
|
|
653
|
+
static parseInt(str: string, radix?: Nullable<System_Internal.Int32>): Nullable<System_Internal.Int64>;
|
|
665
654
|
static String(value: unknown): string;
|
|
666
655
|
}
|
|
667
656
|
|
|
@@ -740,7 +729,7 @@ export abstract class Number$instance {
|
|
|
740
729
|
static isNaN(value: double): boolean;
|
|
741
730
|
static isSafeInteger(value: double): boolean;
|
|
742
731
|
static parseFloat(str: string): double;
|
|
743
|
-
static parseInt(str: string, radix?:
|
|
732
|
+
static parseInt(str: string, radix?: Nullable<System_Internal.Int32>): Nullable<System_Internal.Int64>;
|
|
744
733
|
}
|
|
745
734
|
|
|
746
735
|
|
|
@@ -758,24 +747,24 @@ export abstract class String$instance {
|
|
|
758
747
|
static includes(str: string, searchString: string): boolean;
|
|
759
748
|
static indexOf(str: string, searchString: string, position?: int): int;
|
|
760
749
|
static isWellFormed(str: string): boolean;
|
|
761
|
-
static lastIndexOf(str: string, searchString: string, position?:
|
|
750
|
+
static lastIndexOf(str: string, searchString: string, position?: Nullable<System_Internal.Int32>): int;
|
|
762
751
|
static length(str: string): int;
|
|
763
752
|
static localeCompare(str: string, compareString: string): int;
|
|
764
|
-
static match(str: string, pattern: string):
|
|
765
|
-
static matchAll(str: string, pattern: string):
|
|
753
|
+
static match(str: string, pattern: string): List<System_Internal.String> | undefined;
|
|
754
|
+
static matchAll(str: string, pattern: string): List<List<System_Internal.String>>;
|
|
766
755
|
static normalize(str: string, form?: string): string;
|
|
767
756
|
static padEnd(str: string, targetLength: int, padString?: string): string;
|
|
768
757
|
static padStart(str: string, targetLength: int, padString?: string): string;
|
|
769
|
-
static raw(template:
|
|
758
|
+
static raw(template: List<System_Internal.String>, ...substitutions: unknown[]): string;
|
|
770
759
|
static repeat(str: string, count: int): string;
|
|
771
760
|
static replace(str: string, search: string, replacement: string): string;
|
|
772
761
|
static replaceAll(str: string, search: string, replacement: string): string;
|
|
773
762
|
static search(str: string, pattern: string): int;
|
|
774
|
-
static slice(str: string, start: int, end?:
|
|
775
|
-
static split(str: string, separator: string, limit?:
|
|
763
|
+
static slice(str: string, start: int, end?: Nullable<System_Internal.Int32>): string;
|
|
764
|
+
static split(str: string, separator: string, limit?: Nullable<System_Internal.Int32>): List<System_Internal.String>;
|
|
776
765
|
static startsWith(str: string, searchString: string): boolean;
|
|
777
|
-
static substr(str: string, start: int, length?:
|
|
778
|
-
static substring(str: string, start: int, end?:
|
|
766
|
+
static substr(str: string, start: int, length?: Nullable<System_Internal.Int32>): string;
|
|
767
|
+
static substring(str: string, start: int, end?: Nullable<System_Internal.Int32>): string;
|
|
779
768
|
static toLocaleLowerCase(str: string): string;
|
|
780
769
|
static toLocaleUpperCase(str: string): string;
|
|
781
770
|
static toLowerCase(str: string): string;
|
package/index.d.ts
CHANGED
|
@@ -59,3 +59,6 @@ export declare function Number(value: unknown): double;
|
|
|
59
59
|
export declare function parseFloat(str: string): double;
|
|
60
60
|
export declare function parseInt(str: string, radix?: Nullable<System_Internal.Int32>): Nullable<System_Internal.Int64>;
|
|
61
61
|
export declare function String(value: unknown): string;
|
|
62
|
+
export declare const Infinity: double;
|
|
63
|
+
export declare const NaN: double;
|
|
64
|
+
export declare const undefined: unknown | undefined;
|
package/package.json
CHANGED
|
Binary file
|