mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 21:06:50 -05:00
Adds project init
This commit is contained in:
@@ -26,6 +26,12 @@ namespace ts {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
export function writeConfigFile(file: string, compilerOptions: CompilerOptions, fileNames: string[]): void {
|
||||
let writer = createTextWriter("\n");
|
||||
buildConfigFile(writer, compilerOptions, fileNames, ["node_modules"]);
|
||||
sys.writeFile(file, writer.getText());
|
||||
}
|
||||
|
||||
export function createCompilerHost(options: CompilerOptions, setParentNodes?: boolean): CompilerHost {
|
||||
let currentDirectory: string;
|
||||
let existingDirectories: Map<boolean> = {};
|
||||
|
||||
Reference in New Issue
Block a user