Revise `AttributeType` React Native Flow Type (#13737)
Timothy Yung committed
Sep 26, 2018 at 14:40 UTC
469005d87bdf031cb787151f48b78d4a84ef5292
1 file changed
+2
-2
packages/react-native-renderer/src/ReactNativeTypes.js
+2
-2
@@ -36,8 +36,8 @@ export type MeasureLayoutOnSuccessCallback = (
36
type AttributeType =
37
| true
38
| $ReadOnly<{|
39
- diff: ?<T>(arg1: T, arg2: T) => boolean,
40
- process: ?(arg1: any) => any,
39
+ diff?: <T>(arg1: T, arg2: T) => boolean,
40
+ process?: (arg1: any) => any,
41
|}>;
42
43
export type AttributeConfiguration<