You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, great project. The simplicity is beautiful.
I am curious on your thoughts on adding typings in some form to this repo from a maintainer perspective. I am happy to do the work here, but don't want to create a maintenance burden.
In order of personal preference:
Rewrite/convert the package with TypeScript, using your microbundle package?
Add .d.ts files to the current implementation?
Create a definitely typed package for @types/vhtml?
I wrote some type definitions and made a PR to DefinitelyTyped. If you need the typings right now, you might want to look at my repository instead. see #25 (comment)
Activity
pastelmind commentedon Dec 12, 2020
For my project, I cheated by pulling in Preact's type definitions.
I have a
modules.d.tsin my project directory that looks like this:Obviously very hacky, needs much improvement, and not recommended for professional setups.
pastelmind commentedon Dec 16, 2020
I wrote some type definitions and made a PR to DefinitelyTyped.
If you need the typings right now, you might want to look at my repository instead.see #25 (comment)pastelmind commentedon Dec 24, 2020
@types/vhtml is now public. I think we can close this issue.
AndrewLeedham commentedon Dec 24, 2020
Nice work @pastelmind