don't use initializer property for decorators on concise methods in object literals
This commit is contained in:
@@ -3,9 +3,7 @@
|
||||
var obj = babelHelpers.createDecoratedObject([{
|
||||
key: "bar",
|
||||
decorators: [foo],
|
||||
initializer: function () {
|
||||
return function bar() {};
|
||||
}
|
||||
value: function bar() {}
|
||||
}, {
|
||||
key: "foo",
|
||||
decorators: [bar],
|
||||
|
||||
Reference in New Issue
Block a user