developit / developit/vhtml

How do I use this with TypeScript?

Open
#19 7 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
814
Forks
37
PR merge metrics
No merged PRs in 30d

Description

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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.