diff --git a/Libraries/StyleSheet/StyleSheet.js b/Libraries/StyleSheet/StyleSheet.js index 8fd9b1f6c..411cad91b 100644 --- a/Libraries/StyleSheet/StyleSheet.js +++ b/Libraries/StyleSheet/StyleSheet.js @@ -20,8 +20,8 @@ const flatten = require('flattenStyle'); export type Styles = {[key: string]: Object}; export type StyleSheet = {[key: $Keys]: number}; -export type StyleValue = {[key: string]: Object} | number | false | null; -export type StyleProp = StyleValue | Array; +export type StyleValue = Object | number | false | null | void | ''; +export type StyleProp = StyleValue | Array; let hairlineWidth = PixelRatio.roundToNearestPixel(0.4); if (hairlineWidth === 0) {