refactor(): use const and let instead of var
This commit is contained in:

committed by
Victor Berchet

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