@tsonic/core 0.6.1 → 0.6.3
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/attributes.d.ts +38 -3
- package/package.json +1 -1
- package/runtime/bindings.json +444 -396
- package/runtime/internal/index.d.ts +3 -1
- package/runtime/internal/metadata.json +32 -0
- package/runtime.d.ts +3 -1
- package/types.d.ts +1 -2
|
@@ -9,7 +9,7 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
9
9
|
import type { ptr } from "@tsonic/core/types.js";
|
|
10
10
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
|
-
import type { Dictionary, IEnumerable } from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
12
|
+
import type { Dictionary, IEnumerable, IList } from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
13
13
|
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
14
14
|
import type { Action, Boolean as ClrBoolean, Func, IEquatable, Int32, Object as ClrObject, String as ClrString, Type, ValueType, Void } from "@tsonic/dotnet/System.js";
|
|
15
15
|
|
|
@@ -320,6 +320,8 @@ export const Union_8: {
|
|
|
320
320
|
export type Union_8<T1, T2, T3, T4, T5, T6, T7, T8> = Union_8$instance<T1, T2, T3, T4, T5, T6, T7, T8>;
|
|
321
321
|
|
|
322
322
|
export abstract class ArrayHelpers$instance {
|
|
323
|
+
static slice<T>(source: IEnumerable<T>, startIndex: int): T[];
|
|
324
|
+
static slice<T>(source: IList<T>, startIndex: int): T[];
|
|
323
325
|
static slice<T>(source: T[], startIndex: int): T[];
|
|
324
326
|
}
|
|
325
327
|
|
|
@@ -3555,6 +3555,38 @@
|
|
|
3555
3555
|
"arity": 1,
|
|
3556
3556
|
"parameterCount": 2,
|
|
3557
3557
|
"isExtensionMethod": false
|
|
3558
|
+
},
|
|
3559
|
+
{
|
|
3560
|
+
"stableId": "Tsonic.Runtime:Tsonic.Runtime.ArrayHelpers::Slice(IList_1,System.Int32):T[]",
|
|
3561
|
+
"clrName": "Slice",
|
|
3562
|
+
"tsEmitName": "slice",
|
|
3563
|
+
"normalizedSignature": "Slice|(IList_1,System.Int32):T[]|static=true",
|
|
3564
|
+
"provenance": "Original",
|
|
3565
|
+
"emitScope": "ClassSurface",
|
|
3566
|
+
"isStatic": true,
|
|
3567
|
+
"isAbstract": false,
|
|
3568
|
+
"isVirtual": false,
|
|
3569
|
+
"isOverride": false,
|
|
3570
|
+
"isSealed": false,
|
|
3571
|
+
"arity": 1,
|
|
3572
|
+
"parameterCount": 2,
|
|
3573
|
+
"isExtensionMethod": false
|
|
3574
|
+
},
|
|
3575
|
+
{
|
|
3576
|
+
"stableId": "Tsonic.Runtime:Tsonic.Runtime.ArrayHelpers::Slice(IEnumerable_1,System.Int32):T[]",
|
|
3577
|
+
"clrName": "Slice",
|
|
3578
|
+
"tsEmitName": "slice",
|
|
3579
|
+
"normalizedSignature": "Slice|(IEnumerable_1,System.Int32):T[]|static=true",
|
|
3580
|
+
"provenance": "Original",
|
|
3581
|
+
"emitScope": "ClassSurface",
|
|
3582
|
+
"isStatic": true,
|
|
3583
|
+
"isAbstract": false,
|
|
3584
|
+
"isVirtual": false,
|
|
3585
|
+
"isOverride": false,
|
|
3586
|
+
"isSealed": false,
|
|
3587
|
+
"arity": 1,
|
|
3588
|
+
"parameterCount": 2,
|
|
3589
|
+
"isExtensionMethod": false
|
|
3558
3590
|
}
|
|
3559
3591
|
],
|
|
3560
3592
|
"properties": [],
|
package/runtime.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import * as Internal from './runtime/internal/index.js';
|
|
7
7
|
|
|
8
8
|
// Cross-namespace type imports for constraints
|
|
9
|
-
import type { Dictionary, IEnumerable } from '@tsonic/dotnet/System.Collections.Generic.js';
|
|
9
|
+
import type { Dictionary, IEnumerable, IList } from '@tsonic/dotnet/System.Collections.Generic.js';
|
|
10
10
|
import type { Action, Boolean as ClrBoolean, Func, IEquatable, Int32, Object as ClrObject, String as ClrString, Type, ValueType, Void } from '@tsonic/dotnet/System.js';
|
|
11
11
|
|
|
12
12
|
// Public API exports (curated - no internal $instance/$views leakage)
|
|
@@ -17,6 +17,8 @@ export { Operators$instance as Operators } from './runtime/internal/index.js';
|
|
|
17
17
|
export { Structural$instance as Structural } from './runtime/internal/index.js';
|
|
18
18
|
export { DictionaryAdapter_1 as DictionaryAdapter } from './runtime/internal/index.js';
|
|
19
19
|
|
|
20
|
+
// Multi-arity family value exports (arity-0 constructors/static namespaces)
|
|
21
|
+
|
|
20
22
|
// Multi-arity family sentinel (detects unspecified type parameters)
|
|
21
23
|
declare const __unspecified: unique symbol;
|
|
22
24
|
export type __ = typeof __unspecified;
|