Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / @typescript-eslint / typescript-estree / dist / create-program / createWatchProgram.d.ts
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts b/.config/coc/extensions/node_modules/coc-prettier/node_modules/@typescript-eslint/typescript-estree/dist/create-program/createWatchProgram.d.ts
new file mode 100644 (file)
index 0000000..af73e0c
--- /dev/null
@@ -0,0 +1,19 @@
+import * as ts from 'typescript';
+import { Extra } from '../parser-options';
+/**
+ * Clear all of the parser caches.
+ * This should only be used in testing to ensure the parser is clean between tests.
+ */
+declare function clearCaches(): void;
+/**
+ * Calculate project environments using options provided by consumer and paths from config
+ * @param code The code being linted
+ * @param filePathIn The path of the file being parsed
+ * @param extra.tsconfigRootDir The root directory for relative tsconfig paths
+ * @param extra.projects Provided tsconfig paths
+ * @returns The programs corresponding to the supplied tsconfig paths
+ */
+declare function getProgramsForProjects(code: string, filePathIn: string, extra: Extra): ts.Program[];
+declare function createWatchProgram(tsconfigPath: string, extra: Extra): ts.WatchOfConfigFile<ts.BuilderProgram>;
+export { clearCaches, createWatchProgram, getProgramsForProjects };
+//# sourceMappingURL=createWatchProgram.d.ts.map
\ No newline at end of file