@tsonic/globals 10.0.5 → 10.0.10
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 +6 -1
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
* 3. TypeScript compiler intrinsics (utility types, iterators, Promise, Symbol)
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
+
// Core primitives (char, int, etc) referenced by some global surfaces (e.g. String indexer).
|
|
13
|
+
import type { char } from "@tsonic/core/types.js";
|
|
14
|
+
|
|
12
15
|
// BCL types from @tsonic/dotnet
|
|
13
16
|
import {
|
|
14
17
|
Array$instance, __Array$views,
|
|
@@ -68,7 +71,9 @@ declare global {
|
|
|
68
71
|
/**
|
|
69
72
|
* String - augmented with BCL methods from System.String
|
|
70
73
|
*/
|
|
71
|
-
interface String extends String$instance, __String$views {
|
|
74
|
+
interface String extends String$instance, __String$views {
|
|
75
|
+
readonly [index: number]: char;
|
|
76
|
+
}
|
|
72
77
|
|
|
73
78
|
/**
|
|
74
79
|
* Number - augmented with BCL methods from System.Double
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsonic/globals",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.10",
|
|
4
4
|
"description": "Global type definitions for Tsonic with BCL primitive methods",
|
|
5
5
|
"main": "index.d.ts",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"typecheck": "tsc --noEmit"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@tsonic/dotnet": "10.0.
|
|
16
|
+
"@tsonic/dotnet": "10.0.10"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"typescript": "5.9.3"
|