contentlayerdev / contentlayerdev/contentlayer
TS should not allow adding additional properties to field definitions
Open
help wanted
meta: never-stale
needs-research
topic: schema
topic: typescript
- Dominant language
- TypeScript
- Stars
- 3.5k
- Forks
- 192
- PR merge metrics
- No merged PRs in 30d
Description
When I'm configuring a field definition, I can add any random property without warning or error. Ideally a situation like this would throw a TS error:

Contributor guide
Assessment
This issue has not been assessed yet.