Skip to content

Instantly share code, notes, and snippets.

@Gekkio
Last active September 7, 2016 09:58
Show Gist options
  • Save Gekkio/3e14a19d075192c86d89efadb34ade90 to your computer and use it in GitHub Desktop.
Save Gekkio/3e14a19d075192c86d89efadb34ade90 to your computer and use it in GitHub Desktop.
[ignore]
[include]
[libs]
[options]
/* @flow */
const React = require('react')
const ReactDOM = require('react-dom')
ReactDOM.render(null, null)
index.js:6
6: ReactDOM.render(null, null)
^^^^^^^^^^^^^^^^^^^^^^^^^^^ call of method `render`
6: ReactDOM.render(null, null)
^^^^ null. This type is incompatible with
243: element: React$Element<Config>,
^^^^^^^^^^^^^^^^^^^^^ React$Element. See lib: /tmp/flow/flowlib_14b55a91/react.js:243
node_modules/fbjs/lib/Deferred.js.flow:60
60: Promise.prototype.done.apply(this._promise, arguments);
^^^^ property `done`. Property not found in
497: declare class Promise<+R> {
^ Promise. See lib: /tmp/flow/flowlib_14b55a91/core.js:497
node_modules/fbjs/lib/shallowEqual.js.flow:29
29: return x !== 0 || 1 / (x: $FlowIssue) === 1 / (y: $FlowIssue);
^^^^^^^^^^ identifier `$FlowIssue`. Could not resolve name
{
"name": "flowblow",
"version": "0.0.0",
"main": "index.js",
"private": true,
"scripts": {
"flow": "flow; test $? -eq 0 -o $? -eq 2"
},
"dependencies": {
"react": "^15.3.1",
"react-dom": "^15.3.1"
},
"devDependencies": {
"flow-bin": "^0.32.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment