Lusito / tsx-dom

Lightweight DOM Libraries
https://lusito.github.io/tsx-dom/
MIT License
48 stars 17 forks source link

Definition conflict with VUE VNode #20

Closed cary-hu closed 4 months ago

cary-hu commented 1 year ago

Hi, I have used tsx-dom in my project, and also, I have import VUE.

When I build my project, error occured:

TS2322: Type '{ children: Element; class: string; }' is not assignable to type 'ElementAttrs<HTMLAttributes>'.
  Property 'children' does not exist on type 'ElementAttrs<HTMLAttributes>'.

Have you have any idea about this issue?

Lusito commented 4 months ago

Hey, sorry, this somehow slipped past me. I don't think there is a way to use multiple jsx/tsx libaries in the same project.

cary-hu commented 4 months ago

Fine, I will careful use that, hhhh