mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
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:
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
|
||||
|
||||
Reference in new issue
Block a user