Skip to content

Commit ea6c736

Browse files
committed
chore: get rid of type assetion
1 parent aaf1254 commit ea6c736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Button/Button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ const Button = (
337337
buttonStyle,
338338
style,
339339
!isV3 && !disabled && { elevation },
340-
] as StyleProp<ViewStyle>
340+
] satisfies Animated.WithAnimatedValue<StyleProp<ViewStyle>>
341341
}
342342
{...(isV3 && { elevation: elevation })}
343343
>

0 commit comments

Comments
 (0)