TS: don't set page component props to the App's props by default (#7535)

This commit is contained in:
Dmytro 2019-06-08 21:41:50 +03:00 committed by Luis Fernando Alvarez D
parent 890a45616d
commit 56e740168d

View file

@ -27,7 +27,7 @@ async function appGetInitialProps({
return { pageProps } return { pageProps }
} }
export default class App<P = {}, CP = P> extends React.Component< export default class App<P = {}, CP = {}> extends React.Component<
P & AppProps<CP> P & AppProps<CP>
> { > {
static childContextTypes = { static childContextTypes = {