TS: don't set page component props to the App's props by default (#7535)
This commit is contained in:
parent
890a45616d
commit
56e740168d
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ async function appGetInitialProps({
|
|||
return { pageProps }
|
||||
}
|
||||
|
||||
export default class App<P = {}, CP = P> extends React.Component<
|
||||
export default class App<P = {}, CP = {}> extends React.Component<
|
||||
P & AppProps<CP>
|
||||
> {
|
||||
static childContextTypes = {
|
||||
|
|
Loading…
Reference in a new issue