🚧 Still under progress. Soon will be finished.

parseFromFiles

FUNCTION code

Description

Given an array of TypeScript file paths and some configurable options, reflects a simplified version of the TypeScript Abstract Syntax Tree.

Signature

parseFromFiles(files: readonly string[], options: Partial<AnalyserOptions>): Promise<AnalyserResult>

Parameters

Name Type Default Description
files readonly string[]

An array of paths where the TypeScripts files are located

options Partial<AnalyserOptions> {}

Options to configure the analyzer

Returns

Promise<AnalyserResult>:

The reflected TypeScript AST