@tsonic/js 10.0.1 → 10.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__internal/extensions/index.d.ts +67 -0
- package/index/bindings.json +515 -17
- package/index/internal/index.d.ts +47 -11
- package/index.d.ts +3 -0
- package/package.json +1 -1
|
@@ -87,8 +87,11 @@ export const Date: {
|
|
|
87
87
|
export type Date = Date$instance;
|
|
88
88
|
|
|
89
89
|
export interface Float32Array$instance {
|
|
90
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
91
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
92
|
+
|
|
90
93
|
readonly byteLength: int;
|
|
91
|
-
|
|
94
|
+
[index: number]: float;
|
|
92
95
|
readonly length: int;
|
|
93
96
|
at(index: int): Nullable<System_Internal.Single>;
|
|
94
97
|
fill(value: float, start?: int, end?: Nullable<System_Internal.Int32>): Float32Array;
|
|
@@ -115,8 +118,11 @@ export const Float32Array: {
|
|
|
115
118
|
export type Float32Array = Float32Array$instance;
|
|
116
119
|
|
|
117
120
|
export interface Float64Array$instance {
|
|
121
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
122
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
123
|
+
|
|
118
124
|
readonly byteLength: int;
|
|
119
|
-
|
|
125
|
+
[index: number]: double;
|
|
120
126
|
readonly length: int;
|
|
121
127
|
at(index: int): Nullable<System_Internal.Double>;
|
|
122
128
|
fill(value: double, start?: int, end?: Nullable<System_Internal.Int32>): Float64Array;
|
|
@@ -143,8 +149,11 @@ export const Float64Array: {
|
|
|
143
149
|
export type Float64Array = Float64Array$instance;
|
|
144
150
|
|
|
145
151
|
export interface Int16Array$instance {
|
|
152
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
153
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
154
|
+
|
|
146
155
|
readonly byteLength: int;
|
|
147
|
-
|
|
156
|
+
[index: number]: short;
|
|
148
157
|
readonly length: int;
|
|
149
158
|
at(index: int): Nullable<System_Internal.Int16>;
|
|
150
159
|
fill(value: short, start?: int, end?: Nullable<System_Internal.Int32>): Int16Array;
|
|
@@ -171,8 +180,11 @@ export const Int16Array: {
|
|
|
171
180
|
export type Int16Array = Int16Array$instance;
|
|
172
181
|
|
|
173
182
|
export interface Int32Array$instance {
|
|
183
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
184
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
185
|
+
|
|
174
186
|
readonly byteLength: int;
|
|
175
|
-
|
|
187
|
+
[index: number]: int;
|
|
176
188
|
readonly length: int;
|
|
177
189
|
at(index: int): Nullable<System_Internal.Int32>;
|
|
178
190
|
fill(value: int, start?: int, end?: Nullable<System_Internal.Int32>): Int32Array;
|
|
@@ -199,8 +211,11 @@ export const Int32Array: {
|
|
|
199
211
|
export type Int32Array = Int32Array$instance;
|
|
200
212
|
|
|
201
213
|
export interface Int8Array$instance {
|
|
214
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
215
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
216
|
+
|
|
202
217
|
readonly byteLength: int;
|
|
203
|
-
|
|
218
|
+
[index: number]: sbyte;
|
|
204
219
|
readonly length: int;
|
|
205
220
|
at(index: int): Nullable<System_Internal.SByte>;
|
|
206
221
|
fill(value: sbyte, start?: int, end?: Nullable<System_Internal.Int32>): Int8Array;
|
|
@@ -227,7 +242,10 @@ export const Int8Array: {
|
|
|
227
242
|
export type Int8Array = Int8Array$instance;
|
|
228
243
|
|
|
229
244
|
export interface JSArray_1$instance<T> {
|
|
230
|
-
|
|
245
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
246
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
247
|
+
|
|
248
|
+
[index: number]: T;
|
|
231
249
|
readonly length: int;
|
|
232
250
|
at(index: int): T;
|
|
233
251
|
concat(...items: unknown[]): JSArray_1<T>;
|
|
@@ -313,6 +331,9 @@ export const JSArray_1: {
|
|
|
313
331
|
export type JSArray_1<T> = JSArray_1$instance<T>;
|
|
314
332
|
|
|
315
333
|
export interface Map_2$instance<K, V> {
|
|
334
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
335
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
336
|
+
|
|
316
337
|
readonly size: int;
|
|
317
338
|
clear(): void;
|
|
318
339
|
delete(key: K): boolean;
|
|
@@ -365,7 +386,7 @@ export interface RegExpMatchResult$instance {
|
|
|
365
386
|
readonly groups: (string | undefined)[];
|
|
366
387
|
readonly index: int;
|
|
367
388
|
readonly input: string;
|
|
368
|
-
readonly
|
|
389
|
+
readonly [groupIndex: number]: string | undefined;
|
|
369
390
|
readonly length: int;
|
|
370
391
|
readonly value: string;
|
|
371
392
|
}
|
|
@@ -379,6 +400,9 @@ export const RegExpMatchResult: {
|
|
|
379
400
|
export type RegExpMatchResult = RegExpMatchResult$instance;
|
|
380
401
|
|
|
381
402
|
export interface Set_1$instance<T> {
|
|
403
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
404
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
405
|
+
|
|
382
406
|
readonly size: int;
|
|
383
407
|
add(value: T): Set_1<T>;
|
|
384
408
|
clear(): void;
|
|
@@ -410,8 +434,11 @@ export const Set_1: {
|
|
|
410
434
|
export type Set_1<T> = Set_1$instance<T>;
|
|
411
435
|
|
|
412
436
|
export interface Uint16Array$instance {
|
|
437
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
438
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
439
|
+
|
|
413
440
|
readonly byteLength: int;
|
|
414
|
-
|
|
441
|
+
[index: number]: ushort;
|
|
415
442
|
readonly length: int;
|
|
416
443
|
at(index: int): Nullable<System_Internal.UInt16>;
|
|
417
444
|
fill(value: ushort, start?: int, end?: Nullable<System_Internal.Int32>): Uint16Array;
|
|
@@ -438,8 +465,11 @@ export const Uint16Array: {
|
|
|
438
465
|
export type Uint16Array = Uint16Array$instance;
|
|
439
466
|
|
|
440
467
|
export interface Uint32Array$instance {
|
|
468
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
469
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
470
|
+
|
|
441
471
|
readonly byteLength: int;
|
|
442
|
-
|
|
472
|
+
[index: number]: uint;
|
|
443
473
|
readonly length: int;
|
|
444
474
|
at(index: int): Nullable<System_Internal.UInt32>;
|
|
445
475
|
fill(value: uint, start?: int, end?: Nullable<System_Internal.Int32>): Uint32Array;
|
|
@@ -466,8 +496,11 @@ export const Uint32Array: {
|
|
|
466
496
|
export type Uint32Array = Uint32Array$instance;
|
|
467
497
|
|
|
468
498
|
export interface Uint8Array$instance {
|
|
499
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
500
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
501
|
+
|
|
469
502
|
readonly byteLength: int;
|
|
470
|
-
|
|
503
|
+
[index: number]: byte;
|
|
471
504
|
readonly length: int;
|
|
472
505
|
at(index: int): Nullable<System_Internal.Byte>;
|
|
473
506
|
fill(value: byte, start?: int, end?: Nullable<System_Internal.Int32>): Uint8Array;
|
|
@@ -494,8 +527,11 @@ export const Uint8Array: {
|
|
|
494
527
|
export type Uint8Array = Uint8Array$instance;
|
|
495
528
|
|
|
496
529
|
export interface Uint8ClampedArray$instance {
|
|
530
|
+
readonly __tsonic_iface_System_Collections_Generic_IEnumerable_1: never;
|
|
531
|
+
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
532
|
+
|
|
497
533
|
readonly byteLength: int;
|
|
498
|
-
|
|
534
|
+
[index: number]: byte;
|
|
499
535
|
readonly length: int;
|
|
500
536
|
at(index: int): Nullable<System_Internal.Byte>;
|
|
501
537
|
fill(value: byte, start?: int, end?: Nullable<System_Internal.Int32>): Uint8ClampedArray;
|
package/index.d.ts
CHANGED
|
@@ -42,6 +42,9 @@ export { Uint8Array as Uint8Array } from './index/internal/index.js';
|
|
|
42
42
|
export { Uint8ClampedArray as Uint8ClampedArray } from './index/internal/index.js';
|
|
43
43
|
export { WeakMap_2 as WeakMap } from './index/internal/index.js';
|
|
44
44
|
export { WeakSet_1 as WeakSet } from './index/internal/index.js';
|
|
45
|
+
// Extension methods (C# using semantics)
|
|
46
|
+
export type { ExtensionMethods_Tsonic_JSRuntime as ExtensionMethods } from './__internal/extensions/index.js';
|
|
47
|
+
|
|
45
48
|
|
|
46
49
|
// Flattened exports from static classes
|
|
47
50
|
// From Tsonic.JSRuntime.Globals
|