File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,13 @@ if (hairlineWidth === 0) {
170
170
hairlineWidth = 1 / PixelRatio . get ( ) ;
171
171
}
172
172
173
- const absoluteFill = {
173
+ const absoluteFill : {
174
+ + bottom : 0 ,
175
+ + left : 0 ,
176
+ + position : 'absolute' ,
177
+ + right : 0 ,
178
+ + top : 0 ,
179
+ } = {
174
180
position : 'absolute' ,
175
181
left : 0 ,
176
182
right : 0 ,
Original file line number Diff line number Diff line change @@ -7889,11 +7889,11 @@ export type ImageStyle = ____ImageStyle_Internal;
7889
7889
export type DangerouslyImpreciseStyle = ____DangerouslyImpreciseStyle_Internal;
7890
7890
declare let hairlineWidth: number;
7891
7891
declare const absoluteFill: {
7892
- position: \\"absolute\\" ,
7893
- left: 0,
7894
- right: 0 ,
7895
- top : 0,
7896
- bottom : 0,
7892
+ +bottom: 0 ,
7893
+ + left: 0,
7894
+ +position: \\"absolute\\" ,
7895
+ +right : 0,
7896
+ +top : 0,
7897
7897
};
7898
7898
declare module.exports: {
7899
7899
hairlineWidth: hairlineWidth,
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export type ViewabilityConfigCallbackPair = {
35
35
...
36
36
} ;
37
37
38
- export type ViewabilityConfig = { |
38
+ export type ViewabilityConfig = $ReadOnly < { |
39
39
/**
40
40
* Minimum amount of time (in milliseconds) that an item must be physically viewable before the
41
41
* viewability callback will be fired. A high number means that scrolling through content without
@@ -62,7 +62,7 @@ export type ViewabilityConfig = {|
62
62
* render.
63
63
*/
64
64
waitForInteraction ?: boolean ,
65
- | } ;
65
+ | } > ;
66
66
67
67
/**
68
68
* A Utility class for calculating viewable items based on current metrics like scroll position and
You can’t perform that action at this time.
0 commit comments