mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Adds project init
This commit is contained in:
1 parent
e3d3cc920f
commit
38f4c2dc8d
8 files changed
+422
-89
No files matched your search
@@ -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