File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
import type { ESLintExtendedProgram } from ".." ;
2
2
import type { NormalizedParserOptions } from "../parser-options" ;
3
- import { parseScriptInSvelte } from "../script" ;
3
+ import { parseScript , parseScriptInSvelte } from "../script" ;
4
4
import type { AnalyzeTypeScriptContext } from "./analyze" ;
5
5
import { analyzeTypeScript , analyzeTypeScriptInSvelte } from "./analyze" ;
6
6
import type { TSESParseForESLintResult } from "./types" ;
@@ -32,7 +32,7 @@ export function parseTypeScript(
32
32
) : ESLintExtendedProgram {
33
33
const tsCtx = analyzeTypeScript ( code , attrs , parserOptions ) ;
34
34
35
- const result = parseScriptInSvelte ( tsCtx . script , attrs , parserOptions ) ;
35
+ const result = parseScript ( tsCtx . script , attrs , parserOptions ) ;
36
36
37
37
tsCtx . restoreContext . restore ( result as unknown as TSESParseForESLintResult ) ;
38
38
You can’t perform that action at this time.
0 commit comments