@tsonic/js 10.0.6 → 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.
@@ -97,7 +97,6 @@ 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
101
  at(index: int): Nullable_1<System_Internal.Single>;
103
102
  fill(value: float, start?: int, end?: Nullable_1<System_Internal.Int32>): Float32Array;
@@ -121,7 +120,7 @@ export const Float32Array: {
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,7 +129,6 @@ 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
133
  at(index: int): Nullable_1<System_Internal.Double>;
136
134
  fill(value: double, start?: int, end?: Nullable_1<System_Internal.Int32>): Float64Array;
@@ -154,7 +152,7 @@ export const Float64Array: {
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,7 +161,6 @@ 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
165
  at(index: int): Nullable_1<System_Internal.Int16>;
169
166
  fill(value: short, start?: int, end?: Nullable_1<System_Internal.Int32>): Int16Array;
@@ -187,7 +184,7 @@ export const Int16Array: {
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,7 +193,6 @@ 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
197
  at(index: int): Nullable_1<System_Internal.Int32>;
202
198
  fill(value: int, start?: int, end?: Nullable_1<System_Internal.Int32>): Int32Array;
@@ -220,7 +216,7 @@ export const Int32Array: {
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,7 +225,6 @@ 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
229
  at(index: int): Nullable_1<System_Internal.SByte>;
235
230
  fill(value: sbyte, start?: int, end?: Nullable_1<System_Internal.Int32>): Int8Array;
@@ -253,7 +248,7 @@ export const Int8Array: {
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,7 +256,6 @@ 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>;
@@ -344,7 +338,7 @@ export const JSArray_1: {
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;
@@ -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;
@@ -464,7 +457,6 @@ 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
461
  at(index: int): Nullable_1<System_Internal.UInt16>;
470
462
  fill(value: ushort, start?: int, end?: Nullable_1<System_Internal.Int32>): Uint16Array;
@@ -488,7 +480,7 @@ export const Uint16Array: {
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,7 +489,6 @@ 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
493
  at(index: int): Nullable_1<System_Internal.UInt32>;
503
494
  fill(value: uint, start?: int, end?: Nullable_1<System_Internal.Int32>): Uint32Array;
@@ -521,7 +512,7 @@ export const Uint32Array: {
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,7 +521,6 @@ 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
525
  at(index: int): Nullable_1<System_Internal.Byte>;
536
526
  fill(value: byte, start?: int, end?: Nullable_1<System_Internal.Int32>): Uint8Array;
@@ -554,7 +544,7 @@ export const Uint8Array: {
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,7 +553,6 @@ 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
557
  at(index: int): Nullable_1<System_Internal.Byte>;
569
558
  fill(value: byte, start?: int, end?: Nullable_1<System_Internal.Int32>): Uint8ClampedArray;
@@ -588,7 +577,7 @@ export const Uint8ClampedArray: {
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsonic/js",
3
- "version": "10.0.6",
3
+ "version": "10.0.7",
4
4
  "description": "TypeScript type definitions for JavaScript Runtime (JSRuntime) library",
5
5
  "type": "module",
6
6
  "keywords": [