We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e72ca86 commit f512d4dCopy full SHA for f512d4d
src/harness/harnessGlobals.ts
@@ -17,8 +17,8 @@ globalThis.assert = _chai.assert;
17
}
18
assertDeepImpl(a, b, msg);
19
20
- function arrayExtraKeysObject(a: readonly ({} | null | undefined)[]): object {
21
- const obj: { [key: string]: {} | null | undefined } = {};
+ function arrayExtraKeysObject(a: readonly unknown[]): object {
+ const obj: { [key: string]: unknown } = {};
22
for (const key in a) {
23
if (Number.isNaN(Number(key))) {
24
obj[key] = a[key];
0 commit comments