Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Binding element 'slug' implicitly has an 'any' type.ts(7031)

default discord avatar
taun2160last year
1
Binding element 'slug' implicitly has an 'any' type.ts(7031)


I don't understand, what problem is it pointing to?



I'm copy/pasting from:


https://github.dev/payloadcms/website/tree/main/src
  • your tsconfig must be stricter. I would recommend looking up how to type nextJS page props

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.