@tsonic/js 10.0.27 → 10.0.32
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 +1 -2
- package/index.d.ts +1 -4
- package/package.json +3 -3
|
@@ -62,9 +62,8 @@ export interface __Ext_Tsonic_JSRuntime_String {
|
|
|
62
62
|
|
|
63
63
|
// Internal helper types for sticky extension scopes
|
|
64
64
|
type __TsonicExtMapOf<T> = T extends { __tsonic_ext?: infer M } ? M : {};
|
|
65
|
-
type __TsonicMergeExtMaps<A, B> =
|
|
65
|
+
type __TsonicMergeExtMaps<A, B> = A & B;
|
|
66
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
67
|
|
|
69
68
|
// Generic helper type for extension methods in namespace: Tsonic.JSRuntime
|
|
70
69
|
type __TsonicExtSurface_Tsonic_JSRuntime<TShape> =
|
package/index.d.ts
CHANGED
|
@@ -8,9 +8,6 @@ import * as Internal from './index/internal/index.js';
|
|
|
8
8
|
// Primitive type aliases for flattened exports
|
|
9
9
|
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
10
10
|
|
|
11
|
-
// Namespace imports for flattened exports
|
|
12
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
13
|
-
|
|
14
11
|
// Cross-namespace type imports for constraints
|
|
15
12
|
import type { IEnumerable as IEnumerable__System_Collections_Generic, IEnumerator, KeyValuePair, List } from '@tsonic/dotnet/System.Collections.Generic.js';
|
|
16
13
|
import type { IEnumerable } from '@tsonic/dotnet/System.Collections.js';
|
|
@@ -57,7 +54,7 @@ export declare function isFinite(value: double): boolean;
|
|
|
57
54
|
export declare function isNaN(value: double): boolean;
|
|
58
55
|
export declare function Number(value: unknown): double;
|
|
59
56
|
export declare function parseFloat(str: string): double;
|
|
60
|
-
export declare function parseInt(str: string, radix?: Nullable<
|
|
57
|
+
export declare function parseInt(str: string, radix?: Nullable<int>): Nullable<long>;
|
|
61
58
|
export declare function String(value: unknown): string;
|
|
62
59
|
export declare const Infinity: double;
|
|
63
60
|
export declare const NaN: double;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsonic/js",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.32",
|
|
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.
|
|
24
|
-
"@tsonic/core": "10.0.
|
|
23
|
+
"@tsonic/dotnet": "10.0.32",
|
|
24
|
+
"@tsonic/core": "10.0.32"
|
|
25
25
|
}
|
|
26
26
|
}
|