File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,14 @@ import { createParser } from './slang-utils/create-parser.js';
77import { printWarning } from './slang-utils/print-warning.js' ;
88import { SourceUnit } from './slang-nodes/SourceUnit.js' ;
99
10- import type { Parser as PrettierParser , ParserOptions } from 'prettier' ;
10+ import type { ParserOptions } from 'prettier' ;
1111import type { AstNode } from './slang-nodes/types.d.ts' ;
1212
1313const supportedVersions = Parser . supportedVersions ( ) ;
1414
1515export default function parse (
1616 text : string ,
17- _parsers : PrettierParser [ ] | ParserOptions < AstNode > ,
18- options = _parsers as ParserOptions < AstNode >
17+ options : ParserOptions < AstNode >
1918) : AstNode {
2019 const compiler = maxSatisfying ( supportedVersions , options . compiler ) ;
2120
You can’t perform that action at this time.
0 commit comments