developit / developit/vhtml

How do I use this with TypeScript?

Đang mở
#19 7 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
814
Fork
37
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

I can figure out the:

```
{
"compilerOptions": {
"jsx": "react",
"jsxFactory": "h",
},
}
```

But I can't figure out how to get the typings going for `h` and things like `children`,

Specifically the error I'm getting on any JSX element is:

> JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.ts(7026)

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đá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.