Skip to content

Commit 866c367

Browse files
committed
different cast
1 parent 9488ffd commit 866c367

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/compass-smoke-tests/src/build-info.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ export function assertCommonBuildInfo(
3838
): asserts buildInfo is CommonBuildInfo {
3939
assertObjectHasKeys(buildInfo, 'buildInfo', commonKeys);
4040
assert(
41-
SUPPORTED_CHANNELS.includes((buildInfo as any).channel),
42-
`Expected ${(buildInfo as any).channel} to be in ${SUPPORTED_CHANNELS.join(
43-
','
44-
)}`
41+
SUPPORTED_CHANNELS.includes((buildInfo as { channel: Channel }).channel),
42+
`Expected ${
43+
(buildInfo as { channel: Channel }).channel
44+
} to be in ${SUPPORTED_CHANNELS.join(',')}`
4545
);
4646
}
4747

0 commit comments

Comments
 (0)