Skip to content

Commit

Permalink
fix: remove cyclic dep on parser
Browse files Browse the repository at this point in the history
  • Loading branch information
bradzacher committed May 18, 2020
1 parent 74d7b08 commit 8efcb97
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/scope-manager/package.json
Expand Up @@ -41,7 +41,7 @@
"devDependencies": {
"@types/jest-specific-snapshot": "^0.5.4",
"@types/mkdirp": "^1.0.0",
"@typescript-eslint/parser": "2.33.0",
"@typescript-eslint/typescript-estree": "2.33.0",
"glob": "^7.1.6",
"jest-specific-snapshot": "^3.0.0",
"make-dir": "^3.1.0",
Expand Down
Expand Up @@ -38,7 +38,7 @@ ScopeManager {
defs: Array [
ParameterDefinition$3 {
name: Identifier<"a">,
node: TSEmptyBodyFunctionExpression$2,
node: FunctionExpression$2,
},
],
name: "a",
Expand All @@ -50,7 +50,7 @@ ScopeManager {
defs: Array [
ParameterDefinition$4 {
name: Identifier<"b">,
node: TSEmptyBodyFunctionExpression$2,
node: FunctionExpression$2,
},
],
name: "b",
Expand Down Expand Up @@ -87,7 +87,7 @@ ScopeManager {
],
},
FunctionScope$3 {
block: TSEmptyBodyFunctionExpression$2,
block: FunctionExpression$2,
isStrict: true,
references: Array [],
set: Map {
Expand Down
2 changes: 1 addition & 1 deletion packages/scope-manager/tests/util/parse.ts
@@ -1,4 +1,4 @@
import * as tseslint from '@typescript-eslint/parser';
import * as tseslint from '@typescript-eslint/typescript-estree';
import { analyze, AnalyzeOptions } from '../../src/analyze';

type SourceType = AnalyzeOptions['sourceType'];
Expand Down

0 comments on commit 8efcb97

Please sign in to comment.