Skip to content

Instantly share code, notes, and snippets.

@brentvatne
Created July 18, 2016 22:43
Show Gist options
  • Select an option

  • Save brentvatne/59b4a2522c099b7280733c9f50b95004 to your computer and use it in GitHub Desktop.

Select an option

Save brentvatne/59b4a2522c099b7280733c9f50b95004 to your computer and use it in GitHub Desktop.
╭─ ~/universe/apps/rnplay flow
node_modules/react-native/Libraries/StyleSheet/StyleSheet.js:135
135: for (var key in obj) {
^^^ T. This type is incompatible with
135: for (var key in obj) {
^ iteration expected on object
node_modules/react-native/Libraries/StyleSheet/StyleSheet.js:137
137: result[key] = ReactNativePropRegistry.register(obj[key]);
^^^^^^^^ access of computed property/element. Computed property/element cannot be accessed on
137: result[key] = ReactNativePropRegistry.register(obj[key]);
^^^ T
node_modules/react-native/Libraries/StyleSheet/StyleSheet.js:139
139: return result;
^^^^^^ object literal. This type is incompatible with the expected return type of
133: create<T>(obj: T): T {
^ some incompatible instantiation of `T`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment