contentlayerdev / contentlayerdev/contentlayer
TS should not allow adding additional properties to field definitions
未关闭
help wanted
meta: never-stale
needs-research
topic: schema
topic: typescript
- 主要语言
- TypeScript
- 星标
- 3.5k
- 派生
- 192
- PR 合并指标
- 30 天内没有已合并 PR
描述
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:

贡献指南
评估
这个 Issue 还没有评估数据。