UNPKG

@ts-ast-parser/core

Version:

Reflects a simplified version of the TypeScript AST for generating documentation

12 lines 624 B
import type { AnalyserOptions } from './analyser-options.js'; import type { AnalyserResult } from './analyser-result.js'; /** * Given an array of TypeScript file paths and some configurable options, * reflects a simplified version of the TypeScript Abstract Syntax Tree. * * @param files - An array of paths where the TypeScripts files are located * @param options - Options to configure the analyzer * @returns The reflected TypeScript AST */ export declare function parseFromFiles(files: readonly string[], options?: Partial<AnalyserOptions>): Promise<AnalyserResult>; //# sourceMappingURL=parse-from-files.d.ts.map