contentlayerdev / contentlayerdev/contentlayer

TS should not allow adding additional properties to field definitions

オープン
#224 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
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:

![image](https://user-images.githubusercontent.com/5245089/168885495-e4e0ffd1-c5e9-4658-b1ea-6580e9540eee.png)

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。