Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / @typescript-eslint / typescript-estree / dist / parser.d.ts
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts b/.config/coc/extensions/node_modules/coc-prettier/node_modules/@typescript-eslint/typescript-estree/dist/parser.d.ts
new file mode 100644 (file)
index 0000000..d31f3a7
--- /dev/null
@@ -0,0 +1,17 @@
+import { TSESTreeOptions, ParserServices } from './parser-options';
+import { TSESTree } from './ts-estree';
+interface EmptyObject {
+}
+declare type AST<T extends TSESTreeOptions> = TSESTree.Program & (T['tokens'] extends true ? {
+    tokens: TSESTree.Token[];
+} : EmptyObject) & (T['comment'] extends true ? {
+    comments: TSESTree.Comment[];
+} : EmptyObject);
+interface ParseAndGenerateServicesResult<T extends TSESTreeOptions> {
+    ast: AST<T>;
+    services: ParserServices;
+}
+declare function parse<T extends TSESTreeOptions = TSESTreeOptions>(code: string, options?: T): AST<T>;
+declare function parseAndGenerateServices<T extends TSESTreeOptions = TSESTreeOptions>(code: string, options: T): ParseAndGenerateServicesResult<T>;
+export { AST, parse, parseAndGenerateServices, ParseAndGenerateServicesResult };
+//# sourceMappingURL=parser.d.ts.map
\ No newline at end of file