From b887d979d27dabc7c39d10f39b08ddb89d0c2a35 Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Thu, 5 Nov 2026 08:21:43 +0100 Subject: [PATCH] fix(app): type the web-only dialog enter animation style The CSS animation props are not part of ViewStyle. CI typechecks without the generated expo-env.d.ts, which declares them, so the cast is required there. --- packages/app/src/components/adaptive-modal-sheet.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/app/src/components/adaptive-modal-sheet.tsx b/packages/app/src/components/adaptive-modal-sheet.tsx index 64b636e325..bf452f432a 100644 --- a/packages/app/src/components/adaptive-modal-sheet.tsx +++ b/packages/app/src/components/adaptive-modal-sheet.tsx @@ -255,7 +255,7 @@ const WEB_ENTER_STYLE = { animationName: WEB_ENTER_ANIMATION_NAME, animationDuration: `${WEB_ENTER_DURATION_MS}ms`, animationTimingFunction: "ease-out", -}; +} as unknown as ViewStyle; /** The compact sheet's surface: Gorhom's `backgroundComponent` for every bottom sheet. */ export function SheetBackground({ style }: BottomSheetBackgroundProps) {