We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0888f6c commit 4b928e0Copy full SHA for 4b928e0
packages/compass-e2e-tests/helpers/buildinfo.ts
@@ -5,7 +5,7 @@ import assert from 'node:assert/strict';
5
const commonKeys = ['productName'];
6
type CommonBuildInfo = Record<typeof commonKeys[number], string>;
7
8
-function assertObjectHasKeys(obj: any, name: string, keys: readonly string[]) {
+function assertObjectHasKeys(obj: unknown, name: string, keys: readonly string[]) {
9
assert(
10
typeof obj === 'object' && obj !== null,
11
'Expected buildInfo to be an object'
0 commit comments