diff --git a/src/reanimated2/helperTypes.ts b/src/reanimated2/helperTypes.ts index c20444aec83..7033b22f61b 100644 --- a/src/reanimated2/helperTypes.ts +++ b/src/reanimated2/helperTypes.ts @@ -33,6 +33,7 @@ type TransformsStyle = Pick; type TransformStyleTypes = TransformsStyle['transform'] extends | readonly (infer T)[] + | string | undefined ? T : never;