Emit decorators when --target ES3
This commit is contained in:
parent
e925aa77b2
commit
f27caf5d87
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue