We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8d6ce3 commit 73976c7Copy full SHA for 73976c7
src/attribute.ts
@@ -21,6 +21,7 @@ export default class Attribute {
21
this._eachAttribute(klass, (attr) => {
22
klass.attributeList[attr.name] = attr;
23
let descriptor = attr.descriptor();
24
+ Object.defineProperty(klass.prototype, attr.name, descriptor);
25
let instance = new klass();
26
27
let decorators = instance['__attrDecorators'] || [];
0 commit comments