isographlabs / isograph

The UI framework for teams that move fast — without breaking things.
MIT License
202 stars 9 forks source link

Generating overloads for Iso at compile time #12

Closed edmondop closed 5 months ago

edmondop commented 5 months ago

Generate ISO overloads at compile time by adding a new artifact, named iso.ts in the __isograph subfolder under src, that contains all possible overloads of the iso function for the project, removing the need to use generics.

Update the Babel plugin and the demo accordingly