diff --git a/examples/with-styled-components-babel/pages/_app.tsx b/examples/with-styled-components-babel/pages/_app.tsx index 75b23189d4b1..0f4c9ce68e0f 100644 --- a/examples/with-styled-components-babel/pages/_app.tsx +++ b/examples/with-styled-components-babel/pages/_app.tsx @@ -1,3 +1,4 @@ +import type { AppProps } from 'next/app' import { createGlobalStyle, ThemeProvider } from 'styled-components' const GlobalStyle = createGlobalStyle` @@ -20,7 +21,7 @@ const theme: ThemeInterface = { }, } -export default function App({ Component, pageProps }) { +export default function App({ Component, pageProps }: AppProps) { return ( <>