UNPKG

@ts-ast-parser/core

Version:

Reflects a simplified version of the TypeScript AST for generating documentation

16 lines 829 B
import type { AnalyserOptions } from './analyser-options.js'; import type { AnalyserResult } from './analyser-result.js'; /** * Given some [glob]{@link https://en.wikipedia.org/wiki/Glob_(programming)} * patterns and some configurable options, reflects a simplified version * of the TypeScript Abstract Syntax Tree. * * Internally [globby]{@link https://github.com/sindresorhus/globby} handles the pattern matching. * Any pattern that `globby` accepts can be used. * * @param patterns - A string or an array of strings that represent glob patterns * @param options - Options to configure the analyzer * @returns The reflected TypeScript AST */ export declare function parseFromGlob(patterns: string | string[], options?: Partial<AnalyserOptions>): Promise<AnalyserResult>; //# sourceMappingURL=parse-from-glob.d.ts.map