We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PageComponent
LayoutComponent
1 parent 3a2af8f commit 7596132Copy full SHA for 7596132
packages/next/build/webpack/plugins/flight-types-plugin.ts
@@ -35,8 +35,8 @@ interface LayoutProps {
35
params: any
36
}
37
38
-type PageComponent = (props: PageProps) => React.ReactNode | Promise<React.ReactNode>
39
-type LayoutComponent = (props: LayoutProps) => React.ReactNode | Promise<React.ReactNode>
+export type PageComponent = (props: PageProps) => React.ReactNode | Promise<React.ReactNode>
+export type LayoutComponent = (props: LayoutProps) => React.ReactNode | Promise<React.ReactNode>
40
41
interface IEntry {
42
${
0 commit comments