mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-04-28 16:55:51 -05:00
Updated Using the Compiler API (markdown)
@@ -168,6 +168,9 @@ function watch(rootFileNames: string[], options: ts.CompilerOptions) {
|
||||
getCurrentDirectory: () => process.cwd(),
|
||||
getCompilationSettings: () => options,
|
||||
getDefaultLibFileName: (options) => ts.getDefaultLibFilePath(options),
|
||||
fileExists: ts.sys.fileExists,
|
||||
readFile: ts.sys.readFile,
|
||||
readDirectory: ts.sys.readDirectory,
|
||||
};
|
||||
|
||||
// Create the language service files
|
||||
|
||||
Reference in New Issue
Block a user