Skip to content

Commit f512d4d

Browse files
committed
Fix another place we should just be using unknown
1 parent e72ca86 commit f512d4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/harness/harnessGlobals.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ globalThis.assert = _chai.assert;
1717
}
1818
assertDeepImpl(a, b, msg);
1919

20-
function arrayExtraKeysObject(a: readonly ({} | null | undefined)[]): object {
21-
const obj: { [key: string]: {} | null | undefined } = {};
20+
function arrayExtraKeysObject(a: readonly unknown[]): object {
21+
const obj: { [key: string]: unknown } = {};
2222
for (const key in a) {
2323
if (Number.isNaN(Number(key))) {
2424
obj[key] = a[key];

0 commit comments

Comments
 (0)