import { CompilerOptions } from 'typescript'; import * as ts from 'typescript'; export interface TsConfig { compilerOptions: CompilerOptions; exclude?: string[]; include?: string[]; files?: string[]; typeAcquisition?: 'enable' | 'include' | 'exclude'; extends?: string; } export interface ParseConfigOptions { tsConfig: string | object; projectPath?: string; compilerOptions?: ts.CompilerOptions; } export interface ProgramOptions extends ParseConfigOptions { } export interface TsProjectOptions extends ParseConfigOptions { parsedCompilerOptions?: ts.CompilerOptions; fileNames?: string[]; incremental?: boolean; }