atomicojs / atomico

Atomico a micro-library for creating webcomponents using only functions, hooks and virtual-dom.
https://atomicojs.dev
MIT License
1.15k stars 43 forks source link

Typescript error 2598 when using type Component #74

Closed UpperCod closed 2 years ago

UpperCod commented 2 years ago

An error 2589 ts has been detected, associated with the use of the Atomico Component type.

UpperCod commented 2 years ago

Bug fixed in version 1.46.2, The error is generated only in situations of stress for Typescript, due to a recursive validation of the Component type, I have eliminated the recursive block to avoid stressing TS