10000 Fix missing calling of export helper function in decorated class-decl… · creatio/TypeScript@315edea · GitHub
[go: up one dir, main page]

Skip to content

Commit 315edea

Browse files
committed
Fix missing calling of export helper function in decorated class-declaration (microsoft#8319)
1 parent 62de5af commit 315edea

File tree

1 file changed

+1
-1
lines changed
  • src/compiler/transformers

1 file changed

+1
-1
lines changed

src/compiler/transformers/ts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2682,7 +2682,7 @@ namespace ts {
26822682
*/
26832683
function isNamedExternalModuleExport(node: Node) {
26842684
return isExternalModuleExport(node)
2685-
&& hasModifier(node, ModifierFlags.Default);
2685+
&& !hasModifier(node, ModifierFlags.Default);
26862686
}
26872687

26882688
/**

0 commit comments

Comments
 (0)
0