Skip to content

Commit 3db19b4

Browse files
pietervfacebook-github-bot
authored andcommitted
Deploy 0.186.0 to xplat
Summary: Changelog: [Internal] Reviewed By: SamChou19815 Differential Revision: D39185318 fbshipit-source-id: ca154a5c43eef3e30d5eab382947eedf30e9e850
1 parent afad68f commit 3db19b4

File tree

16 files changed

+33
-10
lines changed

16 files changed

+33
-10
lines changed

.flowconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ untyped-import
7474
untyped-type-import
7575

7676
[version]
77-
^0.185.1
77+
^0.186.0

.flowconfig.android

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ untyped-import
7474
untyped-type-import
7575

7676
[version]
77-
^0.185.1
77+
^0.186.0

Libraries/Animated/nodes/AnimatedValue.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ class AnimatedValue extends AnimatedWithChildren {
9191
_animation: ?Animation;
9292
_tracking: ?AnimatedTracking;
9393

94+
// $FlowFixMe[missing-local-annot]
9495
constructor(value: number, config?: ?AnimatedValueConfig) {
9596
super();
9697
if (typeof value !== 'number') {

Libraries/Blob/URL.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ export class URL {
135135
// Do nothing.
136136
}
137137

138+
// $FlowFixMe[missing-local-annot]
138139
constructor(url: string, base: string | URL) {
139140
let baseUrl = null;
140141
if (!base || validateBaseUrl(url)) {

Libraries/Components/AccessibilityInfo/AccessibilityInfo.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,8 @@ const AccessibilityInfo: AccessibilityInfoType = {
330330
const deviceEventName = EventNames.get(eventName);
331331
return deviceEventName == null
332332
? {remove(): void {}}
333-
: RCTDeviceEventEmitter.addListener(deviceEventName, handler);
333+
: // $FlowFixMe[incompatible-call]
334+
RCTDeviceEventEmitter.addListener(deviceEventName, handler);
334335
},
335336

336337
/**

Libraries/Lists/VirtualizedList.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,6 +1030,7 @@ class VirtualizedList extends React.PureComponent<Props, State> {
10301030
);
10311031
return (
10321032
// $FlowFixMe[prop-missing] Invalid prop usage
1033+
// $FlowFixMe[incompatible-use]
10331034
<ScrollView
10341035
{...props}
10351036
refreshControl={
@@ -1048,6 +1049,7 @@ class VirtualizedList extends React.PureComponent<Props, State> {
10481049
);
10491050
} else {
10501051
// $FlowFixMe[prop-missing] Invalid prop usage
1052+
// $FlowFixMe[incompatible-use]
10511053
return <ScrollView {...props} />;
10521054
}
10531055
};

Libraries/Lists/VirtualizedList_EXPERIMENTAL.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,6 +1226,7 @@ class VirtualizedList extends StateSafePureComponent<Props, State> {
12261226
);
12271227
return (
12281228
// $FlowFixMe[prop-missing] Invalid prop usage
1229+
// $FlowFixMe[incompatible-use]
12291230
<ScrollView
12301231
{...props}
12311232
refreshControl={
@@ -1244,6 +1245,7 @@ class VirtualizedList extends StateSafePureComponent<Props, State> {
12441245
);
12451246
} else {
12461247
// $FlowFixMe[prop-missing] Invalid prop usage
1248+
// $FlowFixMe[incompatible-use]
12471249
return <ScrollView {...props} />;
12481250
}
12491251
};

Libraries/Network/RCTNetworking.ios.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ const RCTNetworking = {
6868
listener: (...$ElementType<RCTNetworkingEventDefinitions, K>) => mixed,
6969
context?: mixed,
7070
): EventSubscription {
71+
// $FlowFixMe[incompatible-call]
7172
return RCTDeviceEventEmitter.addListener(eventType, listener, context);
7273
},
7374

Libraries/Utilities/Platform.android.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const Platform = {
2222
OS: 'android',
2323
// $FlowFixMe[unsafe-getters-setters]
2424
get Version(): number {
25+
// $FlowFixMe[object-this-reference]
2526
return this.constants.Version;
2627
},
2728
// $FlowFixMe[unsafe-getters-setters]
@@ -43,20 +44,25 @@ const Platform = {
4344
Brand: string,
4445
Manufacturer: string,
4546
|} {
47+
// $FlowFixMe[object-this-reference]
4648
if (this.__constants == null) {
49+
// $FlowFixMe[object-this-reference]
4750
this.__constants = NativePlatformConstantsAndroid.getConstants();
4851
}
52+
// $FlowFixMe[object-this-reference]
4953
return this.__constants;
5054
},
5155
// $FlowFixMe[unsafe-getters-setters]
5256
get isTesting(): boolean {
5357
if (__DEV__) {
58+
// $FlowFixMe[object-this-reference]
5459
return this.constants.isTesting;
5560
}
5661
return false;
5762
},
5863
// $FlowFixMe[unsafe-getters-setters]
5964
get isTV(): boolean {
65+
// $FlowFixMe[object-this-reference]
6066
return this.constants.uiMode === 'tv';
6167
},
6268
select: <A, N, D>(spec: PlatformSelectSpec<A, N, D>): A | N | D =>

Libraries/Utilities/Platform.ios.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const Platform = {
2222
OS: 'ios',
2323
// $FlowFixMe[unsafe-getters-setters]
2424
get Version(): string {
25+
// $FlowFixMe[object-this-reference]
2526
return this.constants.osVersion;
2627
},
2728
// $FlowFixMe[unsafe-getters-setters]
@@ -38,22 +39,28 @@ const Platform = {
3839
|},
3940
systemName: string,
4041
|} {
42+
// $FlowFixMe[object-this-reference]
4143
if (this.__constants == null) {
44+
// $FlowFixMe[object-this-reference]
4245
this.__constants = NativePlatformConstantsIOS.getConstants();
4346
}
47+
// $FlowFixMe[object-this-reference]
4448
return this.__constants;
4549
},
4650
// $FlowFixMe[unsafe-getters-setters]
4751
get isPad(): boolean {
52+
// $FlowFixMe[object-this-reference]
4853
return this.constants.interfaceIdiom === 'pad';
4954
},
5055
// $FlowFixMe[unsafe-getters-setters]
5156
get isTV(): boolean {
57+
// $FlowFixMe[object-this-reference]
5258
return this.constants.interfaceIdiom === 'tv';
5359
},
5460
// $FlowFixMe[unsafe-getters-setters]
5561
get isTesting(): boolean {
5662
if (__DEV__) {
63+
// $FlowFixMe[object-this-reference]
5764
return this.constants.isTesting;
5865
}
5966
return false;

0 commit comments

Comments
 (0)