refactor(core): cleanup decorators

This commit is contained in:
Victor Berchet
2016-10-11 19:07:18 -07:00
committed by Igor Minar
parent f7db0668d1
commit bf1e2613b2
2 changed files with 16 additions and 14 deletions

View File

@ -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);
}
}