diff --git a/src/components/Lottie/ts/utils.ts b/src/components/Lottie/ts/utils.ts index 0c011fc5..dec2c2a3 100644 --- a/src/components/Lottie/ts/utils.ts +++ b/src/components/Lottie/ts/utils.ts @@ -114,7 +114,7 @@ export function isNullish(value: unknown): boolean { /** * Checks if a value is of type ContainerWidth */ -export function isContainerWidth(string: any): string is ContainerWidth { +export function isContainerWidth(string: string): string is ContainerWidth { return ( string === 'narrower' || string === 'narrow' ||