Switch to prettier v3 in fbsource (#52773)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/52773

Changelog: [Internal]

Reviewed By: pieterv

Differential Revision: D78580177

fbshipit-source-id: ef0d4619c10fce62f17351b7691099ba6491ed63
This commit is contained in:
Sam Zhou authored and Facebook GitHub Bot committed 2025-07-22 18:50:50 -07:00
1 parent 52f2cbab41
commit 174ea179cd
1 file changed
+2
@@ -551,6 +551,7 @@ export namespace Animated {
[K in keyof T]: WithAnimatedValue<T[K]>;
};
// prettier-ignore
export type WithAnimatedValue<T> = T extends Builtin | Nullable
? T
: T extends Primitive
@@ -563,6 +564,7 @@ export namespace Animated {
type NonAnimatedProps = 'key' | 'ref';
// prettier-ignore
type TAugmentRef<T> = T extends React.Ref<infer R>
? unknown extends R
? never