File tree 2 files changed +5
-2
lines changed
tests/baselines/reference
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -26347,7 +26347,7 @@ namespace ts {
26347
26347
26348
26348
function checkExportSpecifier(node: ExportSpecifier) {
26349
26349
checkAliasSymbol(node);
26350
- if (compilerOptions.declaration ) {
26350
+ if (getEmitDeclarations( compilerOptions) ) {
26351
26351
collectLinkedAliases(node.propertyName || node.name, /*setVisibility*/ true);
26352
26352
}
26353
26353
if (!node.parent.parent.moduleSpecifier) {
@@ -26388,7 +26388,7 @@ namespace ts {
26388
26388
if (node.expression.kind === SyntaxKind.Identifier) {
26389
26389
markExportAsReferenced(node);
26390
26390
26391
- if (compilerOptions.declaration ) {
26391
+ if (getEmitDeclarations( compilerOptions) ) {
26392
26392
collectLinkedAliases(node.expression as Identifier, /*setVisibility*/ true);
26393
26393
}
26394
26394
}
Original file line number Diff line number Diff line change @@ -11,4 +11,7 @@ exports.__esModule = true;
11
11
12
12
13
13
//// [/foo/out/test.d.ts]
14
+ interface Foo {
15
+ x: number ;
16
+ }
14
17
export default Foo ;
You can’t perform that action at this time.
0 commit comments