Skip to content

Commit

Permalink
fix(ts): re-export PageComponent and LayoutComponent types (verce…
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 authored and jankaifer committed Nov 23, 2022
1 parent b23d68d commit 9dfce31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/next/build/webpack/plugins/flight-types-plugin.ts
Expand Up @@ -35,8 +35,8 @@ interface LayoutProps {
params: any
}
type PageComponent = (props: PageProps) => React.ReactNode | Promise<React.ReactNode>
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>
interface IEntry {
${
Expand Down

0 comments on commit 9dfce31

Please sign in to comment.