@tsonic/js-globals 0.3.4 → 0.4.0
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/index.d.ts +2 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
* This enables JS-style programming while compiling to C# with Tsonic.JSRuntime
|
|
11
11
|
*
|
|
12
12
|
* Index-space values (length, indexOf, etc.) use `int` type alias from
|
|
13
|
-
* @tsonic/
|
|
13
|
+
* @tsonic/core to enable numeric proof validation for array indexing.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
|
-
import { int } from "@tsonic/types";
|
|
16
|
+
import { int } from "@tsonic/core/types.js";
|
|
17
17
|
|
|
18
18
|
declare global {
|
|
19
19
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsonic/js-globals",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Global type definitions for Tsonic JS mode (noLib: true, JavaScript semantics)",
|
|
5
5
|
"main": "index.d.ts",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"typecheck": "tsc --noEmit"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@tsonic/
|
|
15
|
+
"@tsonic/core": "^0.1.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"typescript": "^5.0.0"
|