ts-simple-ast
Version:
TypeScript compiler wrapper for AST navigation and code generation.
9 lines (8 loc) • 390 B
TypeScript
import * as ts from "typescript";
import { FileSystemHost } from "./../FileSystemHost";
/**
* 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;