diff --git a/src/compiler/transformers/module/module.ts b/src/compiler/transformers/module/module.ts index 7e0d1685d18..ad6fd2000fb 100644 --- a/src/compiler/transformers/module/module.ts +++ b/src/compiler/transformers/module/module.ts @@ -326,7 +326,7 @@ namespace ts { statements.push( createVariableStatement( /*modifiers*/ undefined, - createVariableDeclarationList(variables), + createConstDeclarationList(variables), /*location*/ node ) );