Skip to content

Commit

Permalink
upgraded flow version and updated code to use of React.Node (#2) (#3635)
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasfha authored and timneutkens committed Jan 30, 2018
1 parent e093441 commit c4830c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/with-flow/components/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import Link from 'next/link'
import Head from 'next/head'

type Props = {
children?: React.Element<any>,
children?: React.Node,
title?: string
}

Expand Down
6 changes: 3 additions & 3 deletions examples/with-flow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"react-dom": "^16.0.0"
},
"devDependencies": {
"babel-eslint": "^7.1.1",
"babel-plugin-transform-flow-strip-types": "^6.21.0",
"flow-bin": "^0.59.0"
"babel-eslint": "8.2.1",
"babel-plugin-transform-flow-strip-types": "6.22.0",
"flow-bin": "0.64.0"
}
}

0 comments on commit c4830c3

Please sign in to comment.