Emit decorators when --target ES3

This commit is contained in:
Ron Buckton 2015-03-25 16:12:07 -07:00
parent e925aa77b2
commit f27caf5d87

View file

@ -3757,10 +3757,6 @@ module ts {
}
function emitDecoratorsOfClass(node: ClassDeclaration) {
if (languageVersion < ScriptTarget.ES5) {
return;
}
emitDecoratorsOfMembers(node, /*staticFlag*/ 0);
emitDecoratorsOfMembers(node, NodeFlags.Static);
emitDecoratorsOfConstructor(node);