tighten EdgeInsetsPropType flow type

Reviewed By: yungsters

Differential Revision: D6767104

fbshipit-source-id: 40b1a4f9f41ff4beae141b636738994ccfa96d37
This commit is contained in:
Spencer Ahrens 2018-01-21 23:19:22 -08:00 committed by Facebook Github Bot
parent 4f2cc42a2d
commit 6e7fb01c02

View File

@ -22,11 +22,11 @@ const EdgeInsetsPropType = (createStrictShapeTypeChecker({
right: PropTypes.number,
}): ReactPropsCheckType & ReactPropsChainableTypeChecker);
export type EdgeInsetsProp = {
top: number,
left: number,
bottom: number,
right: number,
};
export type EdgeInsetsProp = {|
+top: number,
+left: number,
+bottom: number,
+right: number,
|};
module.exports = EdgeInsetsPropType;