Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a078a0d

Browse files
committed
fix: build
1 parent a8683db commit a078a0d

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

packages/scope-manager/src/ScopeManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { CatchScope } from './scope/CatchScope';
1212
import { FunctionExpressionNameScope } from './scope/FunctionExpressionNameScope';
1313
import { ModuleScope } from './scope/ModuleScope';
1414
import { GlobalScope } from './scope/GlobalScope';
15-
import { Variable } from './variable';
15+
import { Variable } from './Variable';
1616

1717
interface ScopeManagerOptions {
1818
gloablReturn?: boolean;

packages/scope-manager/src/scope/FunctionScope.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { ScopeBase } from './ScopeBase';
88
import { ScopeType } from './ScopeType';
99
import { ScopeManager } from '../ScopeManager';
1010
import { Reference } from '../Reference';
11-
import { Variable } from '../variable';
11+
import { Variable } from '../Variable';
1212

1313
class FunctionScope extends ScopeBase {
1414
declare type: ScopeType.function;
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
declare module 'esrecurse' {
22
import { TSESTree } from '@typescript-eslint/experimental-utils';
3-
// eslint-disable-next-line import/no-extraneous-dependencies
4-
import { Visitor as VisitorType } from '@typescript-eslint/scope-manager/dist/Visitor';
53

64
const Visitor: unknown;
75
function visit(
86
node: unknown,
9-
visitor: Record<string, (this: VisitorType, node: TSESTree.Node) => void>,
7+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
8+
visitor: Record<string, (this: any, node: TSESTree.Node) => void>,
109
): void;
1110
export { Visitor, visit };
1211
}

0 commit comments

Comments
 (0)