🚧 Still under progress. Soon will be finished.

AnalyserOptions

INTERFACE code

Description

All the options that the analyser supports. You can provide them in any parse function.

Properties

Name Type Description
tsConfigFilePath string

Allows you to manually specify the path to a TSConfig file.

skipDiagnostics boolean

If true, it won’t stop the analysis when there are syntactic or semantic errors in the code.

compilerOptions Record<string, unknown>

Allows you to override the default compiler options to use when analyzing the source files

include string[]

Allows you to define which files get included in the analysis

exclude string[]

Allows you to define which files get excluded in the analysis

jsProject boolean

Whether the project represents a JS project (all source files are JavaScript files)

system AnalyserSystem

An abstraction layer around how the analyser interacts with the environment (browser or Node.js)