Skip to content
Discussion options

You must be logged in to vote

Do you have a parallel route called @types under app?

Perhaps something like this:

That'll trigger this, expected, error:

src/app/layout.tsx
Type error: Type '{ children: ReactNode; }' does not satisfy the constraint 'LayoutProps'.
  Property 'types' is missing in type '{ children: ReactNode; }' but required in type 'LayoutProps'.

And that's because of how Parallel Routes work: https://nextjs.org/docs/app/building-your-application/routing/parallel-routes

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@cybervoid0
Comment options

@leGenti
Comment options

@germanao
Comment options

@leGenti
Comment options

@fberbert
Comment options

Answer selected by eprisr
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
9 participants