File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
tests/baselines/reference Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -26347,7 +26347,7 @@ namespace ts {
2634726347
2634826348 function checkExportSpecifier(node: ExportSpecifier) {
2634926349 checkAliasSymbol(node);
26350- if (compilerOptions.declaration ) {
26350+ if (getEmitDeclarations( compilerOptions) ) {
2635126351 collectLinkedAliases(node.propertyName || node.name, /*setVisibility*/ true);
2635226352 }
2635326353 if (!node.parent.parent.moduleSpecifier) {
@@ -26388,7 +26388,7 @@ namespace ts {
2638826388 if (node.expression.kind === SyntaxKind.Identifier) {
2638926389 markExportAsReferenced(node);
2639026390
26391- if (compilerOptions.declaration ) {
26391+ if (getEmitDeclarations( compilerOptions) ) {
2639226392 collectLinkedAliases(node.expression as Identifier, /*setVisibility*/ true);
2639326393 }
2639426394 }
Original file line number Diff line number Diff line change @@ -11,4 +11,7 @@ exports.__esModule = true;
1111
1212
1313//// [/foo/out/test.d.ts]
14+ interface Foo {
15+ x: number ;
16+ }
1417export default Foo ;
You can’t perform that action at this time.
0 commit comments