From fc1c4a3224aae769934f1a20dc84b7b660faa3fb Mon Sep 17 00:00:00 2001 From: Triston Armstrong Date: Sun, 31 Dec 2023 15:25:34 -0600 Subject: [PATCH] add types to app file --- pages/_app.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pages/_app.tsx b/pages/_app.tsx index 58449ed..4428e05 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,7 +1,12 @@ +import type { AppProps } from "next/app"; import "../styles/global.css"; import "../styles/prism.css"; +import type { HomeProps } from "./notes"; +import type React from "react"; -export default function App({ Component, pageProps }) { + + +export default function App({ Component, pageProps }: AppProps): React.JSX.Element { return ( );