refactor(core): cleanup decorators
This commit is contained in:

committed by
Igor Minar

parent
f7db0668d1
commit
bf1e2613b2
@ -240,7 +240,7 @@ export function Class(clsDef: ClassDefinition): Type<any> {
|
||||
|
||||
for (let key in clsDef) {
|
||||
if (key !== 'extends' && key !== 'prototype' && clsDef.hasOwnProperty(key)) {
|
||||
proto[key] = applyParams(<any>clsDef[key], key);
|
||||
proto[key] = applyParams(clsDef[key], key);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user