@tsonic/js 10.0.5 → 10.0.7

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.
@@ -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(): ExtensionMethods_Tsonic_JSRuntime<string>;
21
- toLowerCase(): ExtensionMethods_Tsonic_JSRuntime<string>;
22
- trim(): ExtensionMethods_Tsonic_JSRuntime<string>;
23
- trimStart(): ExtensionMethods_Tsonic_JSRuntime<string>;
24
- trimEnd(): ExtensionMethods_Tsonic_JSRuntime<string>;
25
- substring(start: int, end?: System.Nullable_1<System_Internal.Int32>): ExtensionMethods_Tsonic_JSRuntime<string>;
26
- slice(start: int, end?: System.Nullable_1<System_Internal.Int32>): ExtensionMethods_Tsonic_JSRuntime<string>;
27
- indexOf(searchString: string, position?: int): ExtensionMethods_Tsonic_JSRuntime<int>;
28
- lastIndexOf(searchString: string, position?: System.Nullable_1<System_Internal.Int32>): ExtensionMethods_Tsonic_JSRuntime<int>;
29
- startsWith(searchString: string): ExtensionMethods_Tsonic_JSRuntime<boolean>;
30
- endsWith(searchString: string): ExtensionMethods_Tsonic_JSRuntime<boolean>;
31
- includes(searchString: string): ExtensionMethods_Tsonic_JSRuntime<boolean>;
32
- replace(search: string, replacement: string): ExtensionMethods_Tsonic_JSRuntime<string>;
33
- repeat(count: int): ExtensionMethods_Tsonic_JSRuntime<string>;
34
- padStart(targetLength: int, padString?: string): ExtensionMethods_Tsonic_JSRuntime<string>;
35
- padEnd(targetLength: int, padString?: string): ExtensionMethods_Tsonic_JSRuntime<string>;
36
- charAt(index: int): ExtensionMethods_Tsonic_JSRuntime<string>;
37
- charCodeAt(index: int): ExtensionMethods_Tsonic_JSRuntime<int>;
38
- split(separator: string, limit?: System.Nullable_1<System_Internal.Int32>): ExtensionMethods_Tsonic_JSRuntime<System_Collections_Generic.List_1<System_Internal.String>>;
39
- length(): ExtensionMethods_Tsonic_JSRuntime<int>;
40
- at(index: int): ExtensionMethods_Tsonic_JSRuntime<string>;
41
- codePointAt(index: int): ExtensionMethods_Tsonic_JSRuntime<int>;
42
- concat(...strings: string[]): ExtensionMethods_Tsonic_JSRuntime<string>;
43
- localeCompare(compareString: string): ExtensionMethods_Tsonic_JSRuntime<int>;
44
- match(pattern: string): ExtensionMethods_Tsonic_JSRuntime<System_Collections_Generic.List_1<System_Internal.String> | undefined>;
45
- matchAll(pattern: string): ExtensionMethods_Tsonic_JSRuntime<System_Collections_Generic.List_1<System_Collections_Generic.List_1<System_Internal.String>>>;
46
- search(pattern: string): ExtensionMethods_Tsonic_JSRuntime<int>;
47
- replaceAll(search: string, replacement: string): ExtensionMethods_Tsonic_JSRuntime<string>;
48
- normalize(form?: string): ExtensionMethods_Tsonic_JSRuntime<string>;
49
- substr(start: int, length?: System.Nullable_1<System_Internal.Int32>): ExtensionMethods_Tsonic_JSRuntime<string>;
50
- toLocaleLowerCase(): ExtensionMethods_Tsonic_JSRuntime<string>;
51
- toLocaleUpperCase(): ExtensionMethods_Tsonic_JSRuntime<string>;
52
- toString(): ExtensionMethods_Tsonic_JSRuntime<string>;
53
- valueOf(): ExtensionMethods_Tsonic_JSRuntime<string>;
54
- isWellFormed(): ExtensionMethods_Tsonic_JSRuntime<boolean>;
55
- toWellFormed(): ExtensionMethods_Tsonic_JSRuntime<string>;
56
- trimLeft(): ExtensionMethods_Tsonic_JSRuntime<string>;
57
- trimRight(): ExtensionMethods_Tsonic_JSRuntime<string>;
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 { IEnumerable as IEnumerable__System_Collections_Generic, IEnumerator, KeyValuePair, List } from "@tsonic/dotnet/System.Collections.Generic.js";
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, Comparison, Double, Func, Int16, Int32, Int64, Nullable, Object as ClrObject, SByte, Single, String as ClrString, UInt16, UInt32, ValueTuple, Void } from "@tsonic/dotnet/System.js";
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?: Nullable<System_Internal.Int32>): ArrayBuffer;
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?: Nullable<System_Internal.Int32>, day?: Nullable<System_Internal.Int32>): double;
50
- setHours(hour: int, min?: Nullable<System_Internal.Int32>, sec?: Nullable<System_Internal.Int32>, ms?: Nullable<System_Internal.Int32>): double;
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?: Nullable<System_Internal.Int32>, ms?: Nullable<System_Internal.Int32>): double;
53
- setMonth(month: int, day?: Nullable<System_Internal.Int32>): double;
54
- setSeconds(sec: int, ms?: Nullable<System_Internal.Int32>): double;
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?: Nullable<System_Internal.Int32>, day?: Nullable<System_Internal.Int32>): double;
58
- setUTCHours(hour: int, min?: Nullable<System_Internal.Int32>, sec?: Nullable<System_Internal.Int32>, ms?: Nullable<System_Internal.Int32>): double;
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?: Nullable<System_Internal.Int32>, ms?: Nullable<System_Internal.Int32>): double;
61
- setUTCMonth(month: int, day?: Nullable<System_Internal.Int32>): double;
62
- setUTCSeconds(sec: int, ms?: Nullable<System_Internal.Int32>): double;
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,230 +91,236 @@ 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
- [index: number]: float;
95
100
  readonly length: int;
96
- at(index: int): Nullable<System_Internal.Single>;
97
- fill(value: float, start?: int, end?: Nullable<System_Internal.Int32>): Float32Array;
98
- GetEnumerator(): IEnumerator<System_Internal.Single>;
101
+ at(index: int): Nullable_1<System_Internal.Single>;
102
+ fill(value: float, start?: int, end?: Nullable_1<System_Internal.Int32>): Float32Array;
103
+ GetEnumerator(): IEnumerator_1<System_Internal.Single>;
99
104
  includes(value: float, fromIndex?: int): boolean;
100
105
  indexOf(value: float, fromIndex?: int): int;
101
106
  join(separator?: string): string;
102
107
  reverse(): Float32Array;
103
- set(array: IEnumerable__System_Collections_Generic<System_Internal.Single>, offset?: int): void;
104
- slice(begin?: int, end?: Nullable<System_Internal.Int32>): Float32Array;
105
- sort(compareFn?: Comparison<System_Internal.Single>): Float32Array;
106
- subarray(begin?: int, end?: Nullable<System_Internal.Int32>): Float32Array;
108
+ set(array: IEnumerable_1<System_Internal.Single>, offset?: int): void;
109
+ slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Float32Array;
110
+ sort(compareFn?: Comparison_1<System_Internal.Single>): Float32Array;
111
+ subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Float32Array;
107
112
  }
108
113
 
109
114
 
110
115
  export const Float32Array: {
111
116
  new(length: int): Float32Array;
112
- new(values: IEnumerable__System_Collections_Generic<System_Internal.Single>): Float32Array;
117
+ new(values: IEnumerable_1<System_Internal.Single>): Float32Array;
113
118
  new(values: float[]): Float32Array;
114
119
  readonly BYTES_PER_ELEMENT: int;
115
120
  };
116
121
 
117
122
 
118
- export type Float32Array = Float32Array$instance;
123
+ export type Float32Array = Float32Array$instance & { [index: number]: float; };
119
124
 
120
125
  export interface Float64Array$instance {
126
+ readonly __tsonic_type_Tsonic_JSRuntime_Float64Array: never;
127
+
121
128
  readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
122
129
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
123
130
 
124
131
  readonly byteLength: int;
125
- [index: number]: double;
126
132
  readonly length: int;
127
- at(index: int): Nullable<System_Internal.Double>;
128
- fill(value: double, start?: int, end?: Nullable<System_Internal.Int32>): Float64Array;
129
- GetEnumerator(): IEnumerator<System_Internal.Double>;
133
+ at(index: int): Nullable_1<System_Internal.Double>;
134
+ fill(value: double, start?: int, end?: Nullable_1<System_Internal.Int32>): Float64Array;
135
+ GetEnumerator(): IEnumerator_1<System_Internal.Double>;
130
136
  includes(value: double, fromIndex?: int): boolean;
131
137
  indexOf(value: double, fromIndex?: int): int;
132
138
  join(separator?: string): string;
133
139
  reverse(): Float64Array;
134
- set(array: IEnumerable__System_Collections_Generic<System_Internal.Double>, offset?: int): void;
135
- slice(begin?: int, end?: Nullable<System_Internal.Int32>): Float64Array;
136
- sort(compareFn?: Comparison<System_Internal.Double>): Float64Array;
137
- subarray(begin?: int, end?: Nullable<System_Internal.Int32>): Float64Array;
140
+ set(array: IEnumerable_1<System_Internal.Double>, offset?: int): void;
141
+ slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Float64Array;
142
+ sort(compareFn?: Comparison_1<System_Internal.Double>): Float64Array;
143
+ subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Float64Array;
138
144
  }
139
145
 
140
146
 
141
147
  export const Float64Array: {
142
148
  new(length: int): Float64Array;
143
- new(values: IEnumerable__System_Collections_Generic<System_Internal.Double>): Float64Array;
149
+ new(values: IEnumerable_1<System_Internal.Double>): Float64Array;
144
150
  new(values: double[]): Float64Array;
145
151
  readonly BYTES_PER_ELEMENT: int;
146
152
  };
147
153
 
148
154
 
149
- export type Float64Array = Float64Array$instance;
155
+ export type Float64Array = Float64Array$instance & { [index: number]: double; };
150
156
 
151
157
  export interface Int16Array$instance {
158
+ readonly __tsonic_type_Tsonic_JSRuntime_Int16Array: never;
159
+
152
160
  readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
153
161
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
154
162
 
155
163
  readonly byteLength: int;
156
- [index: number]: short;
157
164
  readonly length: int;
158
- at(index: int): Nullable<System_Internal.Int16>;
159
- fill(value: short, start?: int, end?: Nullable<System_Internal.Int32>): Int16Array;
160
- GetEnumerator(): IEnumerator<System_Internal.Int16>;
165
+ at(index: int): Nullable_1<System_Internal.Int16>;
166
+ fill(value: short, start?: int, end?: Nullable_1<System_Internal.Int32>): Int16Array;
167
+ GetEnumerator(): IEnumerator_1<System_Internal.Int16>;
161
168
  includes(value: short, fromIndex?: int): boolean;
162
169
  indexOf(value: short, fromIndex?: int): int;
163
170
  join(separator?: string): string;
164
171
  reverse(): Int16Array;
165
- set(array: IEnumerable__System_Collections_Generic<System_Internal.Int16>, offset?: int): void;
166
- slice(begin?: int, end?: Nullable<System_Internal.Int32>): Int16Array;
167
- sort(compareFn?: Comparison<System_Internal.Int16>): Int16Array;
168
- subarray(begin?: int, end?: Nullable<System_Internal.Int32>): Int16Array;
172
+ set(array: IEnumerable_1<System_Internal.Int16>, offset?: int): void;
173
+ slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Int16Array;
174
+ sort(compareFn?: Comparison_1<System_Internal.Int16>): Int16Array;
175
+ subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Int16Array;
169
176
  }
170
177
 
171
178
 
172
179
  export const Int16Array: {
173
180
  new(length: int): Int16Array;
174
- new(values: IEnumerable__System_Collections_Generic<System_Internal.Int16>): Int16Array;
181
+ new(values: IEnumerable_1<System_Internal.Int16>): Int16Array;
175
182
  new(values: short[]): Int16Array;
176
183
  readonly BYTES_PER_ELEMENT: int;
177
184
  };
178
185
 
179
186
 
180
- export type Int16Array = Int16Array$instance;
187
+ export type Int16Array = Int16Array$instance & { [index: number]: short; };
181
188
 
182
189
  export interface Int32Array$instance {
190
+ readonly __tsonic_type_Tsonic_JSRuntime_Int32Array: never;
191
+
183
192
  readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
184
193
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
185
194
 
186
195
  readonly byteLength: int;
187
- [index: number]: int;
188
196
  readonly length: int;
189
- at(index: int): Nullable<System_Internal.Int32>;
190
- fill(value: int, start?: int, end?: Nullable<System_Internal.Int32>): Int32Array;
191
- GetEnumerator(): IEnumerator<System_Internal.Int32>;
197
+ at(index: int): Nullable_1<System_Internal.Int32>;
198
+ fill(value: int, start?: int, end?: Nullable_1<System_Internal.Int32>): Int32Array;
199
+ GetEnumerator(): IEnumerator_1<System_Internal.Int32>;
192
200
  includes(value: int, fromIndex?: int): boolean;
193
201
  indexOf(value: int, fromIndex?: int): int;
194
202
  join(separator?: string): string;
195
203
  reverse(): Int32Array;
196
- set(array: IEnumerable__System_Collections_Generic<System_Internal.Int32>, offset?: int): void;
197
- slice(begin?: int, end?: Nullable<System_Internal.Int32>): Int32Array;
198
- sort(compareFn?: Comparison<System_Internal.Int32>): Int32Array;
199
- subarray(begin?: int, end?: Nullable<System_Internal.Int32>): Int32Array;
204
+ set(array: IEnumerable_1<System_Internal.Int32>, offset?: int): void;
205
+ slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Int32Array;
206
+ sort(compareFn?: Comparison_1<System_Internal.Int32>): Int32Array;
207
+ subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Int32Array;
200
208
  }
201
209
 
202
210
 
203
211
  export const Int32Array: {
204
212
  new(length: int): Int32Array;
205
- new(values: IEnumerable__System_Collections_Generic<System_Internal.Int32>): Int32Array;
213
+ new(values: IEnumerable_1<System_Internal.Int32>): Int32Array;
206
214
  new(values: int[]): Int32Array;
207
215
  readonly BYTES_PER_ELEMENT: int;
208
216
  };
209
217
 
210
218
 
211
- export type Int32Array = Int32Array$instance;
219
+ export type Int32Array = Int32Array$instance & { [index: number]: int; };
212
220
 
213
221
  export interface Int8Array$instance {
222
+ readonly __tsonic_type_Tsonic_JSRuntime_Int8Array: never;
223
+
214
224
  readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
215
225
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
216
226
 
217
227
  readonly byteLength: int;
218
- [index: number]: sbyte;
219
228
  readonly length: int;
220
- at(index: int): Nullable<System_Internal.SByte>;
221
- fill(value: sbyte, start?: int, end?: Nullable<System_Internal.Int32>): Int8Array;
222
- GetEnumerator(): IEnumerator<System_Internal.SByte>;
229
+ at(index: int): Nullable_1<System_Internal.SByte>;
230
+ fill(value: sbyte, start?: int, end?: Nullable_1<System_Internal.Int32>): Int8Array;
231
+ GetEnumerator(): IEnumerator_1<System_Internal.SByte>;
223
232
  includes(value: sbyte, fromIndex?: int): boolean;
224
233
  indexOf(value: sbyte, fromIndex?: int): int;
225
234
  join(separator?: string): string;
226
235
  reverse(): Int8Array;
227
- set(array: IEnumerable__System_Collections_Generic<System_Internal.SByte>, offset?: int): void;
228
- slice(begin?: int, end?: Nullable<System_Internal.Int32>): Int8Array;
229
- sort(compareFn?: Comparison<System_Internal.SByte>): Int8Array;
230
- subarray(begin?: int, end?: Nullable<System_Internal.Int32>): Int8Array;
236
+ set(array: IEnumerable_1<System_Internal.SByte>, offset?: int): void;
237
+ slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Int8Array;
238
+ sort(compareFn?: Comparison_1<System_Internal.SByte>): Int8Array;
239
+ subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Int8Array;
231
240
  }
232
241
 
233
242
 
234
243
  export const Int8Array: {
235
244
  new(length: int): Int8Array;
236
- new(values: IEnumerable__System_Collections_Generic<System_Internal.SByte>): Int8Array;
245
+ new(values: IEnumerable_1<System_Internal.SByte>): Int8Array;
237
246
  new(values: sbyte[]): Int8Array;
238
247
  readonly BYTES_PER_ELEMENT: int;
239
248
  };
240
249
 
241
250
 
242
- export type Int8Array = Int8Array$instance;
251
+ export type Int8Array = Int8Array$instance & { [index: number]: sbyte; };
243
252
 
244
253
  export interface JSArray_1$instance<T> {
254
+ readonly __tsonic_type_Tsonic_JSRuntime_JSArray_1: never;
255
+
245
256
  readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
246
257
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
247
258
 
248
- [index: number]: T;
249
259
  readonly length: int;
250
260
  at(index: int): T;
251
261
  concat(...items: unknown[]): JSArray_1<T>;
252
- copyWithin(target: int, start?: int, end?: Nullable<System_Internal.Int32>): JSArray_1<T>;
253
- entries(): IEnumerable__System_Collections_Generic<ValueTuple<System_Internal.Int32, T>>;
254
- every(callback: Func<T, System_Internal.Boolean>): boolean;
255
- every(callback: Func<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): boolean;
256
- fill(value: T, start?: int, end?: Nullable<System_Internal.Int32>): JSArray_1<T>;
257
- filter(callback: Func<T, System_Internal.Boolean>): JSArray_1<T>;
258
- filter(callback: Func<T, System_Internal.Int32, System_Internal.Boolean>): JSArray_1<T>;
259
- filter(callback: Func<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): JSArray_1<T>;
260
- find(callback: Func<T, System_Internal.Boolean>): T;
261
- find(callback: Func<T, System_Internal.Int32, System_Internal.Boolean>): T;
262
- find(callback: Func<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): T;
263
- findIndex(callback: Func<T, System_Internal.Boolean>): int;
264
- findIndex(callback: Func<T, System_Internal.Int32, System_Internal.Boolean>): int;
265
- findIndex(callback: Func<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): int;
266
- findLast(callback: Func<T, System_Internal.Boolean>): T;
267
- findLast(callback: Func<T, System_Internal.Int32, System_Internal.Boolean>): T;
268
- findLast(callback: Func<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): T;
269
- findLastIndex(callback: Func<T, System_Internal.Boolean>): int;
270
- findLastIndex(callback: Func<T, System_Internal.Int32, System_Internal.Boolean>): int;
271
- findLastIndex(callback: Func<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): int;
262
+ copyWithin(target: int, start?: int, end?: Nullable_1<System_Internal.Int32>): JSArray_1<T>;
263
+ entries(): IEnumerable_1<ValueTuple_2<System_Internal.Int32, T>>;
264
+ every(callback: Func_2<T, System_Internal.Boolean>): boolean;
265
+ every(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): boolean;
266
+ fill(value: T, start?: int, end?: Nullable_1<System_Internal.Int32>): JSArray_1<T>;
267
+ filter(callback: Func_2<T, System_Internal.Boolean>): JSArray_1<T>;
268
+ filter(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): JSArray_1<T>;
269
+ filter(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): JSArray_1<T>;
270
+ find(callback: Func_2<T, System_Internal.Boolean>): T;
271
+ find(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): T;
272
+ find(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): T;
273
+ findIndex(callback: Func_2<T, System_Internal.Boolean>): int;
274
+ findIndex(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): int;
275
+ findIndex(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): int;
276
+ findLast(callback: Func_2<T, System_Internal.Boolean>): T;
277
+ findLast(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): T;
278
+ findLast(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): T;
279
+ findLastIndex(callback: Func_2<T, System_Internal.Boolean>): int;
280
+ findLastIndex(callback: Func_3<T, System_Internal.Int32, System_Internal.Boolean>): int;
281
+ findLastIndex(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): int;
272
282
  flat(depth?: int): JSArray_1<unknown>;
273
- flatMap<TResult>(callback: Func<T, System_Internal.Int32, JSArray_1<T>, unknown>): JSArray_1<TResult>;
274
- forEach(callback: Action<T>): void;
275
- forEach(callback: Action<T, System_Internal.Int32>): void;
276
- forEach(callback: Action<T, System_Internal.Int32, JSArray_1<T>>): void;
277
- GetEnumerator(): IEnumerator<T>;
283
+ flatMap<TResult>(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, unknown>): JSArray_1<TResult>;
284
+ forEach(callback: Action_1<T>): void;
285
+ forEach(callback: Action_2<T, System_Internal.Int32>): void;
286
+ forEach(callback: Action_3<T, System_Internal.Int32, JSArray_1<T>>): void;
287
+ GetEnumerator(): IEnumerator_1<T>;
278
288
  includes(searchElement: T): boolean;
279
289
  indexOf(searchElement: T, fromIndex?: int): int;
280
290
  join(separator?: string): string;
281
- keys(): IEnumerable__System_Collections_Generic<System_Internal.Int32>;
282
- lastIndexOf(searchElement: T, fromIndex?: Nullable<System_Internal.Int32>): int;
283
- map<TResult>(callback: Func<T, TResult>): JSArray_1<TResult>;
284
- map<TResult>(callback: Func<T, System_Internal.Int32, TResult>): JSArray_1<TResult>;
285
- map<TResult>(callback: Func<T, System_Internal.Int32, JSArray_1<T>, TResult>): JSArray_1<TResult>;
291
+ keys(): IEnumerable_1<System_Internal.Int32>;
292
+ lastIndexOf(searchElement: T, fromIndex?: Nullable_1<System_Internal.Int32>): int;
293
+ map<TResult>(callback: Func_2<T, TResult>): JSArray_1<TResult>;
294
+ map<TResult>(callback: Func_3<T, System_Internal.Int32, TResult>): JSArray_1<TResult>;
295
+ map<TResult>(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, TResult>): JSArray_1<TResult>;
286
296
  pop(): T;
287
297
  push(item: T): int;
288
298
  push(...items: T[]): int;
289
- reduce<TResult>(callback: Func<TResult, T, TResult>, initialValue: TResult): TResult;
290
- reduce<TResult>(callback: Func<TResult, T, System_Internal.Int32, TResult>, initialValue: TResult): TResult;
291
- reduce<TResult>(callback: Func<TResult, T, System_Internal.Int32, JSArray_1<T>, TResult>, initialValue: TResult): TResult;
292
- reduce(callback: Func<T, T, T>): T;
293
- reduceRight<TResult>(callback: Func<TResult, T, TResult>, initialValue: TResult): TResult;
294
- reduceRight<TResult>(callback: Func<TResult, T, System_Internal.Int32, TResult>, initialValue: TResult): TResult;
295
- reduceRight<TResult>(callback: Func<TResult, T, System_Internal.Int32, JSArray_1<T>, TResult>, initialValue: TResult): TResult;
299
+ reduce<TResult>(callback: Func_3<TResult, T, TResult>, initialValue: TResult): TResult;
300
+ reduce<TResult>(callback: Func_4<TResult, T, System_Internal.Int32, TResult>, initialValue: TResult): TResult;
301
+ reduce<TResult>(callback: Func_5<TResult, T, System_Internal.Int32, JSArray_1<T>, TResult>, initialValue: TResult): TResult;
302
+ reduce(callback: Func_3<T, T, T>): T;
303
+ reduceRight<TResult>(callback: Func_3<TResult, T, TResult>, initialValue: TResult): TResult;
304
+ reduceRight<TResult>(callback: Func_4<TResult, T, System_Internal.Int32, TResult>, initialValue: TResult): TResult;
305
+ reduceRight<TResult>(callback: Func_5<TResult, T, System_Internal.Int32, JSArray_1<T>, TResult>, initialValue: TResult): TResult;
296
306
  reverse(): JSArray_1<T>;
297
307
  setLength(newLength: int): void;
298
308
  shift(): T;
299
- slice(start?: int, end?: Nullable<System_Internal.Int32>): JSArray_1<T>;
300
- some(callback: Func<T, System_Internal.Boolean>): boolean;
301
- some(callback: Func<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): boolean;
302
- sort(compareFunc?: Func<T, T, System_Internal.Double>): JSArray_1<T>;
303
- splice(start: int, deleteCount?: Nullable<System_Internal.Int32>, ...items: T[]): JSArray_1<T>;
309
+ slice(start?: int, end?: Nullable_1<System_Internal.Int32>): JSArray_1<T>;
310
+ some(callback: Func_2<T, System_Internal.Boolean>): boolean;
311
+ some(callback: Func_4<T, System_Internal.Int32, JSArray_1<T>, System_Internal.Boolean>): boolean;
312
+ sort(compareFunc?: Func_3<T, T, System_Internal.Double>): JSArray_1<T>;
313
+ splice(start: int, deleteCount?: Nullable_1<System_Internal.Int32>, ...items: T[]): JSArray_1<T>;
304
314
  toArray(): T[];
305
- toList(): List<T>;
315
+ toList(): List_1<T>;
306
316
  toLocaleString(): string;
307
317
  toReversed(): JSArray_1<T>;
308
- toSorted(compareFunc?: Func<T, T, System_Internal.Double>): JSArray_1<T>;
309
- toSpliced(start: int, deleteCount?: Nullable<System_Internal.Int32>, ...items: T[]): JSArray_1<T>;
318
+ toSorted(compareFunc?: Func_3<T, T, System_Internal.Double>): JSArray_1<T>;
319
+ toSpliced(start: int, deleteCount?: Nullable_1<System_Internal.Int32>, ...items: T[]): JSArray_1<T>;
310
320
  ToString(): string;
311
321
  unshift(item: T): int;
312
322
  unshift(...items: T[]): int;
313
- values(): IEnumerable__System_Collections_Generic<T>;
323
+ values(): IEnumerable_1<T>;
314
324
  with(index: int, value: T): JSArray_1<T>;
315
325
  }
316
326
 
@@ -319,46 +329,50 @@ export const JSArray_1: {
319
329
  new<T>(): JSArray_1<T>;
320
330
  new<T>(capacity: int): JSArray_1<T>;
321
331
  new<T>(source: T[]): JSArray_1<T>;
322
- new<T>(source: List<T>): JSArray_1<T>;
323
- new<T>(source: IEnumerable__System_Collections_Generic<T>): JSArray_1<T>;
324
- from<T, TSource, TResult>(iterable: IEnumerable__System_Collections_Generic<TSource>, mapFunc: Func<TSource, System_Internal.Int32, TResult>): JSArray_1<TResult>;
325
- from<T>(iterable: IEnumerable__System_Collections_Generic<T>): JSArray_1<T>;
332
+ new<T>(source: List_1<T>): JSArray_1<T>;
333
+ new<T>(source: IEnumerable_1<T>): JSArray_1<T>;
334
+ from<T, TSource, TResult>(iterable: IEnumerable_1<TSource>, mapFunc: Func_3<TSource, System_Internal.Int32, TResult>): JSArray_1<TResult>;
335
+ from<T>(iterable: IEnumerable_1<T>): JSArray_1<T>;
326
336
  isArray<T>(value: unknown): boolean;
327
337
  of<T>(...items: T[]): JSArray_1<T>;
328
338
  };
329
339
 
330
340
 
331
- export type JSArray_1<T> = JSArray_1$instance<T>;
341
+ export type JSArray_1<T> = JSArray_1$instance<T> & { [index: number]: T; };
332
342
 
333
343
  export interface Map_2$instance<K, V> {
344
+ readonly __tsonic_type_Tsonic_JSRuntime_Map_2: never;
345
+
334
346
  readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
335
347
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
336
348
 
337
349
  readonly size: int;
338
350
  clear(): void;
339
351
  delete(key: K): boolean;
340
- entries(): IEnumerable__System_Collections_Generic<ValueTuple<K, V>>;
341
- forEach(callback: Action<V, K, Map_2<K, V>>): void;
342
- forEach(callback: Action<V, K>): void;
343
- forEach(callback: Action<V>): void;
352
+ entries(): IEnumerable_1<ValueTuple_2<K, V>>;
353
+ forEach(callback: Action_3<V, K, Map_2<K, V>>): void;
354
+ forEach(callback: Action_2<V, K>): void;
355
+ forEach(callback: Action_1<V>): void;
344
356
  get(key: K): V | undefined;
345
- GetEnumerator(): IEnumerator<KeyValuePair<K, V>>;
357
+ GetEnumerator(): IEnumerator_1<KeyValuePair_2<K, V>>;
346
358
  has(key: K): boolean;
347
- keys(): IEnumerable__System_Collections_Generic<K>;
359
+ keys(): IEnumerable_1<K>;
348
360
  set(key: K, value: V): Map_2<K, V>;
349
- values(): IEnumerable__System_Collections_Generic<V>;
361
+ values(): IEnumerable_1<V>;
350
362
  }
351
363
 
352
364
 
353
365
  export const Map_2: {
354
366
  new<K, V>(): Map_2<K, V>;
355
- new<K, V>(entries: IEnumerable__System_Collections_Generic<ValueTuple<K, V>>): Map_2<K, V>;
367
+ new<K, V>(entries: IEnumerable_1<ValueTuple_2<K, V>>): Map_2<K, V>;
356
368
  };
357
369
 
358
370
 
359
371
  export type Map_2<K, V> = Map_2$instance<K, V>;
360
372
 
361
373
  export interface RegExp$instance {
374
+ readonly __tsonic_type_Tsonic_JSRuntime_RegExp: never;
375
+
362
376
  readonly dotAll: boolean;
363
377
  readonly flags: string;
364
378
  readonly global: boolean;
@@ -383,10 +397,11 @@ export const RegExp: {
383
397
  export type RegExp = RegExp$instance;
384
398
 
385
399
  export interface RegExpMatchResult$instance {
400
+ readonly __tsonic_type_Tsonic_JSRuntime_RegExpMatchResult: never;
401
+
386
402
  readonly groups: (string | undefined)[];
387
403
  readonly index: int;
388
404
  readonly input: string;
389
- readonly [groupIndex: number]: string | undefined;
390
405
  readonly length: int;
391
406
  readonly value: string;
392
407
  }
@@ -397,9 +412,11 @@ export const RegExpMatchResult: {
397
412
  };
398
413
 
399
414
 
400
- export type RegExpMatchResult = RegExpMatchResult$instance;
415
+ export type RegExpMatchResult = RegExpMatchResult$instance & { readonly [groupIndex: number]: string | undefined; };
401
416
 
402
417
  export interface Set_1$instance<T> {
418
+ readonly __tsonic_type_Tsonic_JSRuntime_Set_1: never;
419
+
403
420
  readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
404
421
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
405
422
 
@@ -408,157 +425,163 @@ export interface Set_1$instance<T> {
408
425
  clear(): void;
409
426
  delete(value: T): boolean;
410
427
  difference(other: Set_1<T>): Set_1<T>;
411
- entries(): IEnumerable__System_Collections_Generic<ValueTuple<T, T>>;
412
- forEach(callback: Action<T, T, Set_1<T>>): void;
413
- forEach(callback: Action<T, T>): void;
414
- forEach(callback: Action<T>): void;
415
- GetEnumerator(): IEnumerator<T>;
428
+ entries(): IEnumerable_1<ValueTuple_2<T, T>>;
429
+ forEach(callback: Action_3<T, T, Set_1<T>>): void;
430
+ forEach(callback: Action_2<T, T>): void;
431
+ forEach(callback: Action_1<T>): void;
432
+ GetEnumerator(): IEnumerator_1<T>;
416
433
  has(value: T): boolean;
417
434
  intersection(other: Set_1<T>): Set_1<T>;
418
435
  isDisjointFrom(other: Set_1<T>): boolean;
419
436
  isSubsetOf(other: Set_1<T>): boolean;
420
437
  isSupersetOf(other: Set_1<T>): boolean;
421
- keys(): IEnumerable__System_Collections_Generic<T>;
438
+ keys(): IEnumerable_1<T>;
422
439
  symmetricDifference(other: Set_1<T>): Set_1<T>;
423
440
  union(other: Set_1<T>): Set_1<T>;
424
- values(): IEnumerable__System_Collections_Generic<T>;
441
+ values(): IEnumerable_1<T>;
425
442
  }
426
443
 
427
444
 
428
445
  export const Set_1: {
429
446
  new<T>(): Set_1<T>;
430
- new<T>(values: IEnumerable__System_Collections_Generic<T>): Set_1<T>;
447
+ new<T>(values: IEnumerable_1<T>): Set_1<T>;
431
448
  };
432
449
 
433
450
 
434
451
  export type Set_1<T> = Set_1$instance<T>;
435
452
 
436
453
  export interface Uint16Array$instance {
454
+ readonly __tsonic_type_Tsonic_JSRuntime_Uint16Array: never;
455
+
437
456
  readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
438
457
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
439
458
 
440
459
  readonly byteLength: int;
441
- [index: number]: ushort;
442
460
  readonly length: int;
443
- at(index: int): Nullable<System_Internal.UInt16>;
444
- fill(value: ushort, start?: int, end?: Nullable<System_Internal.Int32>): Uint16Array;
445
- GetEnumerator(): IEnumerator<System_Internal.UInt16>;
461
+ at(index: int): Nullable_1<System_Internal.UInt16>;
462
+ fill(value: ushort, start?: int, end?: Nullable_1<System_Internal.Int32>): Uint16Array;
463
+ GetEnumerator(): IEnumerator_1<System_Internal.UInt16>;
446
464
  includes(value: ushort, fromIndex?: int): boolean;
447
465
  indexOf(value: ushort, fromIndex?: int): int;
448
466
  join(separator?: string): string;
449
467
  reverse(): Uint16Array;
450
- set(array: IEnumerable__System_Collections_Generic<System_Internal.UInt16>, offset?: int): void;
451
- slice(begin?: int, end?: Nullable<System_Internal.Int32>): Uint16Array;
452
- sort(compareFn?: Comparison<System_Internal.UInt16>): Uint16Array;
453
- subarray(begin?: int, end?: Nullable<System_Internal.Int32>): Uint16Array;
468
+ set(array: IEnumerable_1<System_Internal.UInt16>, offset?: int): void;
469
+ slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint16Array;
470
+ sort(compareFn?: Comparison_1<System_Internal.UInt16>): Uint16Array;
471
+ subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint16Array;
454
472
  }
455
473
 
456
474
 
457
475
  export const Uint16Array: {
458
476
  new(length: int): Uint16Array;
459
- new(values: IEnumerable__System_Collections_Generic<System_Internal.UInt16>): Uint16Array;
477
+ new(values: IEnumerable_1<System_Internal.UInt16>): Uint16Array;
460
478
  new(values: ushort[]): Uint16Array;
461
479
  readonly BYTES_PER_ELEMENT: int;
462
480
  };
463
481
 
464
482
 
465
- export type Uint16Array = Uint16Array$instance;
483
+ export type Uint16Array = Uint16Array$instance & { [index: number]: ushort; };
466
484
 
467
485
  export interface Uint32Array$instance {
486
+ readonly __tsonic_type_Tsonic_JSRuntime_Uint32Array: never;
487
+
468
488
  readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
469
489
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
470
490
 
471
491
  readonly byteLength: int;
472
- [index: number]: uint;
473
492
  readonly length: int;
474
- at(index: int): Nullable<System_Internal.UInt32>;
475
- fill(value: uint, start?: int, end?: Nullable<System_Internal.Int32>): Uint32Array;
476
- GetEnumerator(): IEnumerator<System_Internal.UInt32>;
493
+ at(index: int): Nullable_1<System_Internal.UInt32>;
494
+ fill(value: uint, start?: int, end?: Nullable_1<System_Internal.Int32>): Uint32Array;
495
+ GetEnumerator(): IEnumerator_1<System_Internal.UInt32>;
477
496
  includes(value: uint, fromIndex?: int): boolean;
478
497
  indexOf(value: uint, fromIndex?: int): int;
479
498
  join(separator?: string): string;
480
499
  reverse(): Uint32Array;
481
- set(array: IEnumerable__System_Collections_Generic<System_Internal.UInt32>, offset?: int): void;
482
- slice(begin?: int, end?: Nullable<System_Internal.Int32>): Uint32Array;
483
- sort(compareFn?: Comparison<System_Internal.UInt32>): Uint32Array;
484
- subarray(begin?: int, end?: Nullable<System_Internal.Int32>): Uint32Array;
500
+ set(array: IEnumerable_1<System_Internal.UInt32>, offset?: int): void;
501
+ slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint32Array;
502
+ sort(compareFn?: Comparison_1<System_Internal.UInt32>): Uint32Array;
503
+ subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint32Array;
485
504
  }
486
505
 
487
506
 
488
507
  export const Uint32Array: {
489
508
  new(length: int): Uint32Array;
490
- new(values: IEnumerable__System_Collections_Generic<System_Internal.UInt32>): Uint32Array;
509
+ new(values: IEnumerable_1<System_Internal.UInt32>): Uint32Array;
491
510
  new(values: uint[]): Uint32Array;
492
511
  readonly BYTES_PER_ELEMENT: int;
493
512
  };
494
513
 
495
514
 
496
- export type Uint32Array = Uint32Array$instance;
515
+ export type Uint32Array = Uint32Array$instance & { [index: number]: uint; };
497
516
 
498
517
  export interface Uint8Array$instance {
518
+ readonly __tsonic_type_Tsonic_JSRuntime_Uint8Array: never;
519
+
499
520
  readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
500
521
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
501
522
 
502
523
  readonly byteLength: int;
503
- [index: number]: byte;
504
524
  readonly length: int;
505
- at(index: int): Nullable<System_Internal.Byte>;
506
- fill(value: byte, start?: int, end?: Nullable<System_Internal.Int32>): Uint8Array;
507
- GetEnumerator(): IEnumerator<System_Internal.Byte>;
525
+ at(index: int): Nullable_1<System_Internal.Byte>;
526
+ fill(value: byte, start?: int, end?: Nullable_1<System_Internal.Int32>): Uint8Array;
527
+ GetEnumerator(): IEnumerator_1<System_Internal.Byte>;
508
528
  includes(value: byte, fromIndex?: int): boolean;
509
529
  indexOf(value: byte, fromIndex?: int): int;
510
530
  join(separator?: string): string;
511
531
  reverse(): Uint8Array;
512
- set(array: IEnumerable__System_Collections_Generic<System_Internal.Byte>, offset?: int): void;
513
- slice(begin?: int, end?: Nullable<System_Internal.Int32>): Uint8Array;
514
- sort(compareFn?: Comparison<System_Internal.Byte>): Uint8Array;
515
- subarray(begin?: int, end?: Nullable<System_Internal.Int32>): Uint8Array;
532
+ set(array: IEnumerable_1<System_Internal.Byte>, offset?: int): void;
533
+ slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint8Array;
534
+ sort(compareFn?: Comparison_1<System_Internal.Byte>): Uint8Array;
535
+ subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint8Array;
516
536
  }
517
537
 
518
538
 
519
539
  export const Uint8Array: {
520
540
  new(length: int): Uint8Array;
521
- new(values: IEnumerable__System_Collections_Generic<System_Internal.Byte>): Uint8Array;
541
+ new(values: IEnumerable_1<System_Internal.Byte>): Uint8Array;
522
542
  new(values: byte[]): Uint8Array;
523
543
  readonly BYTES_PER_ELEMENT: int;
524
544
  };
525
545
 
526
546
 
527
- export type Uint8Array = Uint8Array$instance;
547
+ export type Uint8Array = Uint8Array$instance & { [index: number]: byte; };
528
548
 
529
549
  export interface Uint8ClampedArray$instance {
550
+ readonly __tsonic_type_Tsonic_JSRuntime_Uint8ClampedArray: never;
551
+
530
552
  readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
531
553
  readonly __tsonic_iface_System_Collections_IEnumerable: never;
532
554
 
533
555
  readonly byteLength: int;
534
- [index: number]: byte;
535
556
  readonly length: int;
536
- at(index: int): Nullable<System_Internal.Byte>;
537
- fill(value: byte, start?: int, end?: Nullable<System_Internal.Int32>): Uint8ClampedArray;
538
- GetEnumerator(): IEnumerator<System_Internal.Byte>;
557
+ at(index: int): Nullable_1<System_Internal.Byte>;
558
+ fill(value: byte, start?: int, end?: Nullable_1<System_Internal.Int32>): Uint8ClampedArray;
559
+ GetEnumerator(): IEnumerator_1<System_Internal.Byte>;
539
560
  includes(value: byte, fromIndex?: int): boolean;
540
561
  indexOf(value: byte, fromIndex?: int): int;
541
562
  join(separator?: string): string;
542
563
  reverse(): Uint8ClampedArray;
543
- set(array: IEnumerable__System_Collections_Generic<System_Internal.Byte>, offset?: int): void;
564
+ set(array: IEnumerable_1<System_Internal.Byte>, offset?: int): void;
544
565
  SetClamped(index: int, value: int): void;
545
- slice(begin?: int, end?: Nullable<System_Internal.Int32>): Uint8ClampedArray;
546
- sort(compareFn?: Comparison<System_Internal.Byte>): Uint8ClampedArray;
547
- subarray(begin?: int, end?: Nullable<System_Internal.Int32>): Uint8ClampedArray;
566
+ slice(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint8ClampedArray;
567
+ sort(compareFn?: Comparison_1<System_Internal.Byte>): Uint8ClampedArray;
568
+ subarray(begin?: int, end?: Nullable_1<System_Internal.Int32>): Uint8ClampedArray;
548
569
  }
549
570
 
550
571
 
551
572
  export const Uint8ClampedArray: {
552
573
  new(length: int): Uint8ClampedArray;
553
- new(values: IEnumerable__System_Collections_Generic<System_Internal.Byte>): Uint8ClampedArray;
574
+ new(values: IEnumerable_1<System_Internal.Byte>): Uint8ClampedArray;
554
575
  new(values: byte[]): Uint8ClampedArray;
555
576
  readonly BYTES_PER_ELEMENT: int;
556
577
  };
557
578
 
558
579
 
559
- export type Uint8ClampedArray = Uint8ClampedArray$instance;
580
+ export type Uint8ClampedArray = Uint8ClampedArray$instance & { [index: number]: byte; };
560
581
 
561
582
  export interface WeakMap_2$instance<K, V> {
583
+ readonly __tsonic_type_Tsonic_JSRuntime_WeakMap_2: never;
584
+
562
585
  delete(key: K): boolean;
563
586
  get(key: K): V | undefined;
564
587
  has(key: K): boolean;
@@ -574,6 +597,8 @@ export const WeakMap_2: {
574
597
  export type WeakMap_2<K, V> = WeakMap_2$instance<K, V>;
575
598
 
576
599
  export interface WeakSet_1$instance<T> {
600
+ readonly __tsonic_type_Tsonic_JSRuntime_WeakSet_1: never;
601
+
577
602
  add(value: T): WeakSet_1<T>;
578
603
  delete(value: T): boolean;
579
604
  has(value: T): boolean;
@@ -625,7 +650,7 @@ export abstract class Globals$instance {
625
650
  static isNaN(value: double): boolean;
626
651
  static Number(value: unknown): double;
627
652
  static parseFloat(str: string): double;
628
- static parseInt(str: string, radix?: Nullable<System_Internal.Int32>): Nullable<System_Internal.Int64>;
653
+ static parseInt(str: string, radix?: Nullable_1<System_Internal.Int32>): Nullable_1<System_Internal.Int64>;
629
654
  static String(value: unknown): string;
630
655
  }
631
656
 
@@ -704,7 +729,7 @@ export abstract class Number$instance {
704
729
  static isNaN(value: double): boolean;
705
730
  static isSafeInteger(value: double): boolean;
706
731
  static parseFloat(str: string): double;
707
- static parseInt(str: string, radix?: Nullable<System_Internal.Int32>): Nullable<System_Internal.Int64>;
732
+ static parseInt(str: string, radix?: Nullable_1<System_Internal.Int32>): Nullable_1<System_Internal.Int64>;
708
733
  }
709
734
 
710
735
 
@@ -722,24 +747,24 @@ export abstract class String$instance {
722
747
  static includes(str: string, searchString: string): boolean;
723
748
  static indexOf(str: string, searchString: string, position?: int): int;
724
749
  static isWellFormed(str: string): boolean;
725
- static lastIndexOf(str: string, searchString: string, position?: Nullable<System_Internal.Int32>): int;
750
+ static lastIndexOf(str: string, searchString: string, position?: Nullable_1<System_Internal.Int32>): int;
726
751
  static length(str: string): int;
727
752
  static localeCompare(str: string, compareString: string): int;
728
- static match(str: string, pattern: string): List<System_Internal.String> | undefined;
729
- static matchAll(str: string, pattern: string): List<List<System_Internal.String>>;
753
+ static match(str: string, pattern: string): List_1<System_Internal.String> | undefined;
754
+ static matchAll(str: string, pattern: string): List_1<List_1<System_Internal.String>>;
730
755
  static normalize(str: string, form?: string): string;
731
756
  static padEnd(str: string, targetLength: int, padString?: string): string;
732
757
  static padStart(str: string, targetLength: int, padString?: string): string;
733
- static raw(template: List<System_Internal.String>, ...substitutions: unknown[]): string;
758
+ static raw(template: List_1<System_Internal.String>, ...substitutions: unknown[]): string;
734
759
  static repeat(str: string, count: int): string;
735
760
  static replace(str: string, search: string, replacement: string): string;
736
761
  static replaceAll(str: string, search: string, replacement: string): string;
737
762
  static search(str: string, pattern: string): int;
738
- static slice(str: string, start: int, end?: Nullable<System_Internal.Int32>): string;
739
- static split(str: string, separator: string, limit?: Nullable<System_Internal.Int32>): List<System_Internal.String>;
763
+ static slice(str: string, start: int, end?: Nullable_1<System_Internal.Int32>): string;
764
+ static split(str: string, separator: string, limit?: Nullable_1<System_Internal.Int32>): List_1<System_Internal.String>;
740
765
  static startsWith(str: string, searchString: string): boolean;
741
- static substr(str: string, start: int, length?: Nullable<System_Internal.Int32>): string;
742
- static substring(str: string, start: int, end?: Nullable<System_Internal.Int32>): string;
766
+ static substr(str: string, start: int, length?: Nullable_1<System_Internal.Int32>): string;
767
+ static substring(str: string, start: int, end?: Nullable_1<System_Internal.Int32>): string;
743
768
  static toLocaleLowerCase(str: string): string;
744
769
  static toLocaleUpperCase(str: string): string;
745
770
  static toLowerCase(str: string): string;
@@ -760,9 +785,9 @@ export type String = String$instance;
760
785
  export abstract class Timers$instance {
761
786
  static clearInterval(id: int): void;
762
787
  static clearTimeout(id: int): void;
763
- static setInterval<T>(callback: Action<T>, intervalMs: int, arg: T): int;
788
+ static setInterval<T>(callback: Action_1<T>, intervalMs: int, arg: T): int;
764
789
  static setInterval(callback: Action, intervalMs: int): int;
765
- static setTimeout<T>(callback: Action<T>, delayMs: int, arg: T): int;
790
+ static setTimeout<T>(callback: Action_1<T>, delayMs: int, arg: T): int;
766
791
  static setTimeout(callback: Action, delayMs?: int): int;
767
792
  }
768
793
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsonic/js",
3
- "version": "10.0.5",
3
+ "version": "10.0.7",
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.1",
24
- "@tsonic/core": "^10.0.1"
23
+ "@tsonic/dotnet": "^10.0.6",
24
+ "@tsonic/core": "^10.0.9"
25
25
  }
26
26
  }