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

Rewrite of TS and JSDOC types for atomico@1.62.0 #86

Closed UpperCod closed 2 years ago

UpperCod commented 2 years ago

Additional context

Atomico was originally written without TS support and the internal types are mostly JSDOC declarations. The rewriting of the TS types provides for the reuse of the API exposed as a package internally, thus allowing greater consistency in the development and maintenance of the Atomico

  1. Rewrite the types so that the types exposed at the package level also work at the internal level, this will reduce the load of JSDOC and improve typing at the Internal level.
  2. create a stack of TS and TSX based use cases that pass through the pipeline without error.