diff --git a/examples/with-firebase-hosting-and-typescript/package.json b/examples/with-firebase-hosting-and-typescript/package.json index fa4079684b9838a95bbd4506ab66491edd1aaad1..a9da0259074e8f8356d14e92eeccc5b5e06333ee 100644 --- a/examples/with-firebase-hosting-and-typescript/package.json +++ b/examples/with-firebase-hosting-and-typescript/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "description": "Host Next.js SSR app on Firebase Cloud Functions with Firebase Hosting redirects. Built with typescript.", "engines": { - "node": "8" + "node": "10" }, "scripts": { "dev": "next src/app", diff --git a/examples/with-firebase-hosting-and-typescript/src/app/components/App.tsx b/examples/with-firebase-hosting-and-typescript/src/app/components/App.tsx index 257923c5ef430b5711e7732fcddc8eecf4eff9b6..f4818de833f4fc732168aa7adb32c410fef06dd6 100644 --- a/examples/with-firebase-hosting-and-typescript/src/app/components/App.tsx +++ b/examples/with-firebase-hosting-and-typescript/src/app/components/App.tsx @@ -1,10 +1,10 @@ -import Header from './Header' +import Header from './Header'; const App = ({ children }: { children?: any }) => (
{children}
-) +); -export default App +export default App; diff --git a/examples/with-firebase-hosting-and-typescript/src/app/components/Header.tsx b/examples/with-firebase-hosting-and-typescript/src/app/components/Header.tsx index 4809c87f4d6b0c4066610a72bb094f561799ae78..bd9595ed21f7629cd53ca5908244ed82cbe0296f 100644 --- a/examples/with-firebase-hosting-and-typescript/src/app/components/Header.tsx +++ b/examples/with-firebase-hosting-and-typescript/src/app/components/Header.tsx @@ -1,12 +1,12 @@ -import Link from 'next/link' +import Link from 'next/link'; export default ({ pathname }: { pathname?: any }) => (
- + Home - + About
-) +); diff --git a/examples/with-firebase-hosting-and-typescript/src/app/pages/about.tsx b/examples/with-firebase-hosting-and-typescript/src/app/pages/about.tsx index 852b111de8147ba176af40989eb7396325e28f3f..4daf51e99326b94dcf8d4b66799d19dd6c638a9c 100644 --- a/examples/with-firebase-hosting-and-typescript/src/app/pages/about.tsx +++ b/examples/with-firebase-hosting-and-typescript/src/app/pages/about.tsx @@ -1,7 +1,7 @@ -import App from '../components/App' +import App from '../components/App'; export default () => (

About Page

-) +); diff --git a/examples/with-firebase-hosting-and-typescript/src/app/pages/index.tsx b/examples/with-firebase-hosting-and-typescript/src/app/pages/index.tsx index 5575b8e8e5a20e2abbe79dc5d6c7965fd7a311cf..edf30078df50436b2118b99bc7d798bb672ba1c8 100644 --- a/examples/with-firebase-hosting-and-typescript/src/app/pages/index.tsx +++ b/examples/with-firebase-hosting-and-typescript/src/app/pages/index.tsx @@ -1,7 +1,7 @@ -import App from '../components/App' +import App from '../components/App'; export default () => (

Index Page

-) +);