UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for AST navigation and code generation.

9 lines (8 loc) 386 B
import * as ts from "typescript"; import { FileSystemHost } from "./../fileSystem"; /** * Gets the compiler options from a specified tsconfig.json * @param filePath - File path to the tsconfig.json. * @param fileSystemHost - Optional file system host. */ export declare function getCompilerOptionsFromTsConfig(filePath: string, fileSystemHost?: FileSystemHost): ts.CompilerOptions;