diff --git a/Libraries/Animated/Animated.d.ts b/Libraries/Animated/Animated.d.ts index 39a5b1d2b039ba..aeeb98146da86a 100644 --- a/Libraries/Animated/Animated.d.ts +++ b/Libraries/Animated/Animated.d.ts @@ -564,7 +564,9 @@ export namespace Animated { type NonAnimatedProps = 'key' | 'ref'; type TAugmentRef = T extends React.Ref - ? React.Ref> + ? unknown extends R + ? never + : React.Ref> : never; export type AnimatedProps = {