diff --git a/src/compiler/tsbuild.ts b/src/compiler/tsbuild.ts index ec9e18899aa..406d9a3c2ff 100644 --- a/src/compiler/tsbuild.ts +++ b/src/compiler/tsbuild.ts @@ -252,7 +252,6 @@ namespace ts { } function getOutputJavaScriptFileName(inputFileName: string, configFile: ParsedCommandLine) { - // TODO handle JSX: Preserve const relativePath = getRelativePathFromDirectory(rootDirOfOptions(configFile.options, configFile.options.configFilePath), inputFileName, /*ignoreCase*/ true); const outputPath = resolvePath(configFile.options.outDir || getDirectoryPath(configFile.options.configFilePath), relativePath); return changeExtension(outputPath, (fileExtensionIs(inputFileName, ".tsx") && configFile.options.jsx === JsxEmit.Preserve) ? ".jsx" : ".js"); @@ -295,7 +294,7 @@ namespace ts { const cache = createFileMap(); const configParseHost = parseConfigHostFromCompilerHost(host); - // TODO: Cache invalidation under --watch! + // TODO: Cache invalidation under --watch function parseConfigFile(configFilePath: string) { const sourceFile = host.getSourceFile(configFilePath, ScriptTarget.JSON) as JsonSourceFile; @@ -591,7 +590,6 @@ namespace ts { /** * Removes entries from arrays which appear in later arrays. - * TODO: Use a lookup object to optimize this a bit? */ function removeDuplicatesFromBuildQueue(queue: string[][]): void { // No need to check the last array