File tree 1 file changed +6
-6
lines changed
src/compiler/transformers 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1013,11 +1013,11 @@ namespace ts {
1013
1013
return [ clean , namespaceDecl ] ;
1014
1014
}
1015
1015
1016
- const modifierFlags = ( getModifierFlags ( clean ) & ~ ModifierFlags . ExportDefault ) | ModifierFlags . Ambient ;
1016
+ const modifierFlags = createModifiersFromModifierFlags ( ( getModifierFlags ( clean ) & ~ ModifierFlags . ExportDefault ) | ModifierFlags . Ambient ) ;
1017
1017
const cleanDeclaration = updateFunctionDeclaration (
1018
1018
clean ,
1019
1019
/*decorators*/ undefined ,
1020
- createModifiersFromModifierFlags ( modifierFlags ) ,
1020
+ modifierFlags ,
1021
1021
/*asteriskToken*/ undefined ,
1022
1022
clean . name ,
1023
1023
clean . typeParameters ,
@@ -1029,15 +1029,15 @@ namespace ts {
1029
1029
const namespaceDeclaration = updateModuleDeclaration (
1030
1030
namespaceDecl ,
1031
1031
/*decorators*/ undefined ,
1032
- createModifiersFromModifierFlags ( modifierFlags ) ,
1032
+ modifierFlags ,
1033
1033
input . name ! ,
1034
- createModuleBlock ( declarations )
1034
+ namespaceDecl . body
1035
1035
) ;
1036
1036
1037
1037
const exportDefaultDeclaration = createExportAssignment (
1038
1038
/*decorators*/ undefined ,
1039
- /*modifiers*/ undefined ,
1040
- /*isExportEquals*/ false ,
1039
+ /*modifiers*/ undefined ,
1040
+ /*isExportEquals*/ false ,
1041
1041
clean . name !
1042
1042
) ;
1043
1043
You can’t perform that action at this time.
0 commit comments