more anys

This commit is contained in:
Olivier Gagnon
2022-07-19 22:54:38 -04:00
parent ce2ebf576e
commit f220965a73
2 changed files with 22 additions and 15 deletions

View File

@@ -60,7 +60,7 @@ export function Generic_toJSON(ctorName: string, obj: Record<string, any>, keys?
keys = Object.keys(obj); // Only "own" properties are included
}
const data: any = {};
const data: Record<string, unknown> = {};
for (let index = 0; index < keys.length; ++index) {
const key = keys[index];
data[key] = obj[key];