6
6
*
7
7
* @noformat
8
8
* @flow strict
9
- * @generated SignedSource<<eea119fd0786bbbd30861721a92f3fa7 >>
9
+ * @generated SignedSource<<d1711869276d3e52d184ac3230988ced >>
10
10
*
11
11
* This file was sync'd from the facebook/react repository.
12
12
*/
@@ -38,10 +38,10 @@ export type MeasureLayoutOnSuccessCallback = (
38
38
39
39
export type AttributeType < T , V > =
40
40
| true
41
- | $ReadOnly < { |
41
+ | $ReadOnly < {
42
42
diff ?: ( arg1 : T , arg2 : T ) => boolean ,
43
43
process ?: ( arg1 : V ) => T ,
44
- | } > ;
44
+ } > ;
45
45
46
46
// We either force that `diff` and `process` always use mixed,
47
47
// or we allow them to define specific types and use this hack
@@ -98,7 +98,7 @@ export type PartialViewConfig = $ReadOnly<{
98
98
validAttributes ?: PartialAttributeConfiguration ,
99
99
} > ;
100
100
101
- export type NativeMethods = $ReadOnly < { |
101
+ export type NativeMethods = $ReadOnly < {
102
102
blur ( ) : void ,
103
103
focus ( ) : void ,
104
104
measure ( callback : MeasureOnSuccessCallback ) : void ,
@@ -109,7 +109,7 @@ export type NativeMethods = $ReadOnly<{|
109
109
onFail ?: ( ) => void ,
110
110
) : void ,
111
111
setNativeProps ( nativeProps : { ...} ) : void ,
112
- | } > ;
112
+ } > ;
113
113
114
114
export type HostComponent < T > = AbstractComponent < T , $ReadOnly < NativeMethods >> ;
115
115
@@ -125,43 +125,43 @@ type InspectorDataProps = $ReadOnly<{
125
125
...,
126
126
} > ;
127
127
128
- type InspectorDataSource = $ReadOnly < { |
128
+ type InspectorDataSource = $ReadOnly < {
129
129
fileName ?: string ,
130
130
lineNumber ?: number ,
131
- | } > ;
131
+ } > ;
132
132
133
133
type InspectorDataGetter = (
134
134
< TElementType : ElementType > (
135
135
componentOrHandle: ElementRef< TElementType > | number,
136
136
) => ?number ,
137
- ) => $ReadOnly < { |
137
+ ) => $ReadOnly < {
138
138
measure : ( callback : MeasureOnSuccessCallback ) => void ,
139
139
props : InspectorDataProps ,
140
140
source : InspectorDataSource ,
141
- | } > ;
141
+ } > ;
142
142
143
- export type InspectorData = $ReadOnly < { |
144
- hierarchy : Array < { |
143
+ export type InspectorData = $ReadOnly < {
144
+ hierarchy : Array < {
145
145
name : ?string ,
146
146
getInspectorData : InspectorDataGetter ,
147
- | } > ,
147
+ } > ,
148
148
selectedIndex : ?number ,
149
149
props : InspectorDataProps ,
150
150
source : ?InspectorDataSource ,
151
- | } > ;
151
+ } > ;
152
152
153
- export type TouchedViewDataAtPoint = $ReadOnly < { |
153
+ export type TouchedViewDataAtPoint = $ReadOnly < {
154
154
pointerY : number ,
155
155
touchedViewTag ?: number ,
156
156
closestInstance ?: mixed ,
157
- frame : $ReadOnly < { |
157
+ frame : $ReadOnly < {
158
158
top : number ,
159
159
left : number ,
160
160
width : number ,
161
161
height : number ,
162
- | } > ,
162
+ } > ,
163
163
...InspectorData ,
164
- | } > ;
164
+ } > ;
165
165
166
166
/**
167
167
* Flat ReactNative renderer bundles are too big for Flow to parse efficiently.
@@ -271,18 +271,18 @@ export type LayoutAnimationProperty =
271
271
| 'scaleY'
272
272
| 'scaleXY' ;
273
273
274
- export type LayoutAnimationAnimationConfig = $ReadOnly < { |
274
+ export type LayoutAnimationAnimationConfig = $ReadOnly < {
275
275
duration ?: number ,
276
276
delay ?: number ,
277
277
springDamping ?: number ,
278
278
initialVelocity ?: number ,
279
279
type ?: LayoutAnimationType ,
280
280
property ?: LayoutAnimationProperty ,
281
- | } > ;
281
+ } > ;
282
282
283
- export type LayoutAnimationConfig = $ReadOnly < { |
283
+ export type LayoutAnimationConfig = $ReadOnly < {
284
284
duration : number ,
285
285
create ?: LayoutAnimationAnimationConfig ,
286
286
update ?: LayoutAnimationAnimationConfig ,
287
287
delete ?: LayoutAnimationAnimationConfig ,
288
- | } > ;
288
+ } > ;
0 commit comments