UNPKG

@tylertech/forge-build-tools

Version:
15 lines (14 loc) 626 B
import ts from 'typescript'; export interface ITypeScriptCompilerOptions extends ts.CompilerOptions { } /** * Compiles a list of TypeScript file paths to JavaScript and emits their * @param files The list of source filenames to compile. * @param options The TypeScript compiler options. */ export declare function compileTypeScript(files: string[] | string, options: ITypeScriptCompilerOptions | string): Promise<void>; /** * Converts TypeScript compiler options to their node API-compatible values. * @param options */ export declare function normalizeCompilerOptions(options: ts.CompilerOptions): ts.CompilerOptions;