1.0.0 • Published 7 years ago

typescript-utils v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

typescript-utils

Some basic utils for compiling typescript programmatically from node.

export function getNewLine(): string;
export function getCanonicalFileName(fileName: string): string;
export function formatDiagnostics(diagnostics: ts.Diagnostic[]): string;
export function printDiagnostics(diagnostics: ts.Diagnostic[]): void;
export function parseConfig(fileName: string): ts.ParsedCommandLine;
export function createProgram(config: ts.ParsedCommandLine): ts.Program;