Unverified Commit 7596132a authored by Balázs Orbán's avatar Balázs Orbán Committed by GitHub

fix(ts): re-export `PageComponent` and `LayoutComponent` types (#43226)

parent 3a2af8fb
...@@ -35,8 +35,8 @@ interface LayoutProps { ...@@ -35,8 +35,8 @@ interface LayoutProps {
params: any params: any
} }
type PageComponent = (props: PageProps) => React.ReactNode | Promise<React.ReactNode> export type PageComponent = (props: PageProps) => React.ReactNode | Promise<React.ReactNode>
type LayoutComponent = (props: LayoutProps) => React.ReactNode | Promise<React.ReactNode> export type LayoutComponent = (props: LayoutProps) => React.ReactNode | Promise<React.ReactNode>
interface IEntry { interface IEntry {
${ ${
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment