@tsonic/globals 0.3.11 → 10.0.1
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 +3 -5
- package/package.json +7 -2
- package/tsconfig.json +0 -11
package/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ declare global {
|
|
|
35
35
|
*
|
|
36
36
|
* C# arrays are fixed-size and do NOT have IList<T>/ICollection<T> instance methods.
|
|
37
37
|
* They only support:
|
|
38
|
-
* - System.Array instance methods (
|
|
38
|
+
* - System.Array instance methods (Length, Rank, Clone, CopyTo, etc.)
|
|
39
39
|
* - IEnumerable<T> for iteration (foreach)
|
|
40
40
|
* - Indexer access
|
|
41
41
|
*
|
|
@@ -45,15 +45,13 @@ declare global {
|
|
|
45
45
|
interface Array<T> extends Array$instance, __Array$views, IEnumerable_1<T> {
|
|
46
46
|
[n: number]: T;
|
|
47
47
|
[Symbol.iterator](): IterableIterator<T>;
|
|
48
|
-
|
|
49
|
-
getEnumerator(): IEnumerator;
|
|
48
|
+
GetEnumerator(): IEnumerator_1<T>;
|
|
50
49
|
}
|
|
51
50
|
|
|
52
51
|
interface ReadonlyArray<T> extends Array$instance, __Array$views, IEnumerable_1<T> {
|
|
53
52
|
readonly [n: number]: T;
|
|
54
53
|
[Symbol.iterator](): IterableIterator<T>;
|
|
55
|
-
|
|
56
|
-
getEnumerator(): IEnumerator;
|
|
54
|
+
GetEnumerator(): IEnumerator_1<T>;
|
|
57
55
|
}
|
|
58
56
|
|
|
59
57
|
/**
|
package/package.json
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsonic/globals",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "10.0.1",
|
|
4
4
|
"description": "Global type definitions for Tsonic with BCL primitive methods",
|
|
5
5
|
"main": "index.d.ts",
|
|
6
6
|
"types": "index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"index.d.ts",
|
|
9
|
+
"README.md",
|
|
10
|
+
"LICENSE"
|
|
11
|
+
],
|
|
7
12
|
"scripts": {
|
|
8
13
|
"typecheck": "tsc --noEmit"
|
|
9
14
|
},
|
|
10
15
|
"dependencies": {
|
|
11
|
-
"@tsonic/dotnet": "0.
|
|
16
|
+
"@tsonic/dotnet": "10.0.1"
|
|
12
17
|
},
|
|
13
18
|
"devDependencies": {
|
|
14
19
|
"typescript": "5.9.3"
|