@tsonic/globals 10.0.10 → 10.0.11
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 -6
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -20,8 +20,8 @@ import {
|
|
|
20
20
|
Boolean$instance, __Boolean$views,
|
|
21
21
|
Object$instance
|
|
22
22
|
} from "@tsonic/dotnet/System/internal/index.js";
|
|
23
|
-
import type { IEnumerator } from "@tsonic/dotnet/System.Collections
|
|
24
|
-
import {
|
|
23
|
+
import type { IEnumerator } from "@tsonic/dotnet/System.Collections.js";
|
|
24
|
+
import type { IEnumerable, IEnumerator as IEnumeratorT } from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
25
25
|
|
|
26
26
|
declare global {
|
|
27
27
|
// Minimal Error surface (noLib mode).
|
|
@@ -45,16 +45,16 @@ declare global {
|
|
|
45
45
|
* For mutable collection operations (add, remove, etc.), use List<T> instead.
|
|
46
46
|
* For LINQ operations (map, filter, etc.), use Enumerable methods.
|
|
47
47
|
*/
|
|
48
|
-
interface Array<T> extends Array$instance, __Array$views,
|
|
48
|
+
interface Array<T> extends Array$instance, __Array$views, IEnumerable<T> {
|
|
49
49
|
[n: number]: T;
|
|
50
50
|
[Symbol.iterator](): IterableIterator<T>;
|
|
51
|
-
GetEnumerator():
|
|
51
|
+
GetEnumerator(): IEnumeratorT<T>;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
interface ReadonlyArray<T> extends Array$instance, __Array$views,
|
|
54
|
+
interface ReadonlyArray<T> extends Array$instance, __Array$views, IEnumerable<T> {
|
|
55
55
|
readonly [n: number]: T;
|
|
56
56
|
[Symbol.iterator](): IterableIterator<T>;
|
|
57
|
-
GetEnumerator():
|
|
57
|
+
GetEnumerator(): IEnumeratorT<T>;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsonic/globals",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.11",
|
|
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.11"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"typescript": "5.9.3"
|