From 2d8e8924c6ea4e2f08298874cbaa024f4a57b449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Hern=C3=A1ndez=20Arellano?= <282006+matiasfh@users.noreply.github.com> Date: Tue, 30 Jan 2018 14:37:31 -0300 Subject: [PATCH] upgraded flow version and updated code to use of React.Node (#2) --- examples/with-flow/components/layout.js | 2 +- examples/with-flow/package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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" } }