Skip to content

Commit

Permalink
fix build type error
Browse files Browse the repository at this point in the history
  • Loading branch information
shuding committed Oct 27, 2022
1 parent 4b00495 commit 6de3636
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/next/build/webpack/plugins/flight-types-plugin.ts
Expand Up @@ -27,12 +27,12 @@ check<IEntry, TEntry>(entry)
type PageParams = Record<string, string>
interface PageProps {
params?: PageParams
searchParams?: Record<string, string | string[]>
params: any
searchParams: any
}
interface LayoutProps {
children: React.ReactNode
params?: PageParams
params: any
}
type PageComponent = (props: PageProps) => React.ReactNode | Promise<React.ReactNode>
Expand Down

0 comments on commit 6de3636

Please sign in to comment.