We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95c3ecc commit 05ceda7Copy full SHA for 05ceda7
src/compiler/checker.ts
@@ -2746,8 +2746,9 @@ namespace ts {
2746
2747
// Type parameters are always visible
2748
case SyntaxKind.TypeParameter:
2749
- // Source file is always visible
+ // Source file and namespace export are always visible
2750
case SyntaxKind.SourceFile:
2751
+ case SyntaxKind.NamespaceExportDeclaration:
2752
return true;
2753
2754
// Export assignments do not create name bindings outside the module
0 commit comments