Skip to content

Commit e41af66

Browse files
justandrasjstarpl
andauthored
chore: reduce the scope of isUIShowStyleBase
Co-authored-by: Jan Starzak <jan.starzak@gmail.com>
1 parent bb9711f commit e41af66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/corelib/src/playout/stateCacheResolver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ export function convertToUIShowStyleBase(showStyleBase: DBShowStyleBase): UIShow
804804
})
805805
}
806806

807-
export function isUIShowStyleBase(value: unknown): value is UIShowStyleBase {
807+
export function isUIShowStyleBase(value: DBShowStyleBase | UIShowStyleBase): value is UIShowStyleBase {
808808
if (!value || typeof value !== 'object') return false
809809

810810
const v = value as Partial<UIShowStyleBase>

0 commit comments

Comments
 (0)