@eslint-react/var 1.16.2-next.8 → 1.16.2
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/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -444,8 +444,8 @@ declare const ConstructionHint: {
|
|
|
444
444
|
declare function inspectConstruction(node: TSESTree.Node, initialScope: Scope, hint?: bigint): Construction;
|
|
445
445
|
|
|
446
446
|
declare const findVariable: {
|
|
447
|
-
(initialScope: Scope): (nameOrNode: TSESTree.Identifier
|
|
448
|
-
(nameOrNode: TSESTree.Identifier
|
|
447
|
+
(initialScope: Scope): (nameOrNode: string | TSESTree.Identifier) => O.Option<Variable>;
|
|
448
|
+
(nameOrNode: string | TSESTree.Identifier, initialScope: Scope): O.Option<Variable>;
|
|
449
449
|
};
|
|
450
450
|
|
|
451
451
|
declare function getChidScopes(scope: Scope, prev?: readonly Scope[]): readonly Scope[];
|
package/dist/index.d.ts
CHANGED
|
@@ -444,8 +444,8 @@ declare const ConstructionHint: {
|
|
|
444
444
|
declare function inspectConstruction(node: TSESTree.Node, initialScope: Scope, hint?: bigint): Construction;
|
|
445
445
|
|
|
446
446
|
declare const findVariable: {
|
|
447
|
-
(initialScope: Scope): (nameOrNode: TSESTree.Identifier
|
|
448
|
-
(nameOrNode: TSESTree.Identifier
|
|
447
|
+
(initialScope: Scope): (nameOrNode: string | TSESTree.Identifier) => O.Option<Variable>;
|
|
448
|
+
(nameOrNode: string | TSESTree.Identifier, initialScope: Scope): O.Option<Variable>;
|
|
449
449
|
};
|
|
450
450
|
|
|
451
451
|
declare function getChidScopes(scope: Scope, prev?: readonly Scope[]): readonly Scope[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eslint-react/var",
|
|
3
|
-
"version": "1.16.2
|
|
3
|
+
"version": "1.16.2",
|
|
4
4
|
"description": "TSESTree AST utility module for static analysis of variables",
|
|
5
5
|
"homepage": "https://github.com/rel1cx/eslint-react",
|
|
6
6
|
"bugs": {
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"@typescript-eslint/types": "^8.15.0",
|
|
40
40
|
"@typescript-eslint/utils": "^8.15.0",
|
|
41
41
|
"ts-pattern": "^5.5.0",
|
|
42
|
-
"@eslint-react/
|
|
43
|
-
"@eslint-react/types": "1.16.2
|
|
44
|
-
"@eslint-react/
|
|
42
|
+
"@eslint-react/tools": "1.16.2",
|
|
43
|
+
"@eslint-react/types": "1.16.2",
|
|
44
|
+
"@eslint-react/ast": "1.16.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"string-ts": "^2.2.0",
|