Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES module does not export types, ie VNode #568

Closed
jvanbruegge opened this issue Mar 23, 2020 · 5 comments
Closed

ES module does not export types, ie VNode #568

jvanbruegge opened this issue Mar 23, 2020 · 5 comments

Comments

@jvanbruegge
Copy link
Member

Prompted by cyclejs/cyclejs#925 I wanted to switch to ES module only, but AFAICT it is not possible to import the types, ie VNode from the es module.

@kuraga
Copy link

kuraga commented Mar 23, 2020

@jvanbruegge , #225, #522?

@jvanbruegge
Copy link
Member Author

not really because it is just plain missing

@kuraga
Copy link

kuraga commented Mar 24, 2020

@jvanbruegge , similar to #319?

@mightyiam
Copy link
Contributor

@jvanbruegge is this what you're looking for?

https://unpkg.com/browse/[email protected]/es/vnode.d.ts

import { VNode } from 'snabbdom/es/vnode.js'

Please confirm whether this works for you.

@mightyiam
Copy link
Contributor

It is now

import { VNode } from 'snabbdom/vnode'

If there are any more issues, please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants