UNPKG

@typescript-eslint/typescript-estree

Version:

A parser that converts TypeScript source code into an ESTree compatible form

14 lines 652 B
import * as ts from 'typescript'; import type { ParseSettings } from '../parseSettings'; /** * Clear all of the parser caches. * This should only be used in testing to ensure the parser is clean between tests. */ export declare function clearWatchCaches(): void; /** * Calculate project environments using options provided by consumer and paths from config * @param parseSettings Internal settings for parsing the file * @returns The programs corresponding to the supplied tsconfig paths */ export declare function getWatchProgramsForProjects(parseSettings: ParseSettings): ts.Program[]; //# sourceMappingURL=getWatchProgramsForProjects.d.ts.map