File tree 1 file changed +0
-12
lines changed
1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -41414,18 +41414,6 @@ namespace ts {
41414
41414
if (isGlobalAugmentation) {
41415
41415
return;
41416
41416
}
41417
- const symbol = getSymbolOfNode(node);
41418
- if (symbol) {
41419
- // module augmentations cannot introduce new names on the top level scope of the module
41420
- // this is done it two steps
41421
- // 1. quick check - if symbol for node is not merged - this is local symbol to this augmentation - report error
41422
- // 2. main check - report error if value declaration of the parent symbol is module augmentation)
41423
- let reportError = !(symbol.flags & SymbolFlags.Transient);
41424
- if (!reportError) {
41425
- // symbol should not originate in augmentation
41426
- reportError = !!symbol.parent?.declarations && isExternalModuleAugmentation(symbol.parent.declarations[0]);
41427
- }
41428
- }
41429
41417
break;
41430
41418
}
41431
41419
}
You can’t perform that action at this time.
0 commit comments