Skip to content

Instantly share code, notes, and snippets.

@jergason
Created April 15, 2015 17:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jergason/d66f4f1508820a08401c to your computer and use it in GitHub Desktop.
Save jergason/d66f4f1508820a08401c to your computer and use it in GitHub Desktop.
flow es6
// @flow
import React, {Component} from 'react'
class Durp extends Component {
render(): ReactElement {
return <h1>wassup</h1>
}
}
{
"passed": false,
"errors": [
{
"message": [
{
"descr": "Extract `default` property from ModuleNamespace obj\nUnknown global name",
"code": 0,
"path": "/Users/jergason/kuali/cm/client/app/formbot/butts.jsx",
"line": 2,
"endline": 2,
"start": 1,
"end": 38
}
]
},
{
"message": [
{
"descr": "identifier Component\nUnknown global name",
"code": 0,
"path": "/Users/jergason/kuali/cm/client/app/formbot/butts.jsx",
"line": 4,
"endline": 4,
"start": 20,
"end": 28
}
]
}
],
"version": " Apr 3 2015 22:21:51"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment