diff --git a/examples/with-flow/components/layout.js b/examples/with-flow/components/layout.js index 99fbfcf96f13e..19ca233795d17 100644 --- a/examples/with-flow/components/layout.js +++ b/examples/with-flow/components/layout.js @@ -5,7 +5,7 @@ import Link from 'next/link' import Head from 'next/head' type Props = { - children?: React.Element, + children?: React.Node, title?: string } diff --git a/examples/with-flow/package.json b/examples/with-flow/package.json index dc3f9d6cf4afb..040fe73e6182b 100644 --- a/examples/with-flow/package.json +++ b/examples/with-flow/package.json @@ -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" } }