Skip to content

Commit

Permalink
remove null
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed Oct 24, 2022
1 parent 5d5ab03 commit 0a9699d
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?: PageParams
}
type PageComponent = (props: PageProps) => React.ReactNode | null | Promise<React.ReactNode | null>
type LayoutComponent = (props: LayoutProps) => React.ReactNode | null | Promise<React.ReactNode | null>
type PageComponent = (props: PageProps) => React.ReactNode | Promise<React.ReactNode>
type LayoutComponent = (props: LayoutProps) => React.ReactNode | Promise<React.ReactNode>
interface IEntry {
${
Expand Down

0 comments on commit 0a9699d

Please sign in to comment.