Last active
September 7, 2016 09:58
-
-
Save Gekkio/3e14a19d075192c86d89efadb34ade90 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ignore] | |
[include] | |
[libs] | |
[options] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* @flow */ | |
const React = require('react') | |
const ReactDOM = require('react-dom') | |
ReactDOM.render(null, null) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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