contentlayerdev / contentlayerdev/contentlayer

TS should not allow adding additional properties to field definitions

Đang mở
#224 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
help wanted meta: never-stale needs-research topic: schema topic: typescript
Ngôn ngữ chính
TypeScript
Star
3.5k
Fork
192
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.