.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / @typescript-eslint / parser / dist / parser.d.ts
1 import { ParserOptions, TSESTree } from '@typescript-eslint/types';
2 import { ParserServices, visitorKeys } from '@typescript-eslint/typescript-estree';
3 import { analyzeScope } from './analyze-scope';
4 interface ParseForESLintResult {
5     ast: TSESTree.Program & {
6         range?: [number, number];
7         tokens?: TSESTree.Token[];
8         comments?: TSESTree.Comment[];
9     };
10     services: ParserServices;
11     visitorKeys: typeof visitorKeys;
12     scopeManager: ReturnType<typeof analyzeScope>;
13 }
14 declare function parse(code: string, options?: ParserOptions): ParseForESLintResult['ast'];
15 declare function parseForESLint(code: string, options?: ParserOptions | null): ParseForESLintResult;
16 export { parse, parseForESLint, ParserOptions };
17 //# sourceMappingURL=parser.d.ts.map