Skip to content

Commit 399f987

Browse files
committed
Add todos for sourcemap that accidently got reverted.
1 parent 216ed1b commit 399f987

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/factory.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2699,9 +2699,9 @@ namespace ts {
26992699
node.declarationMapPath = declarationMapPath;
27002700
Object.defineProperties(node, {
27012701
javascriptText: { get() { return definedTextGetter(declarationTextOrJavascriptPath); } },
2702-
javascriptMapText: { get() { return textGetter(javascriptMapPath); } },
2702+
javascriptMapText: { get() { return textGetter(javascriptMapPath); } }, // TODO:: if there is inline sourceMap in jsFile, use that
27032703
declarationText: { get() { return definedTextGetter(Debug.assertDefined(javascriptMapTextOrDeclarationPath)); } },
2704-
declarationMapText: { get() { return textGetter(declarationMapPath); } }
2704+
declarationMapText: { get() { return textGetter(declarationMapPath); } } // TODO:: if there is inline sourceMap in dtsFile, use that
27052705
});
27062706
}
27072707
else {

0 commit comments

Comments
 (0)