tbranyen / diffhtml

diffHTML is a web framework that helps you build applications and other interactive content
https://diffhtml.org
MIT License
868 stars 47 forks source link

Removes type aliases #294

Closed tbranyen closed 1 year ago

tbranyen commented 1 year ago

By aliasing objects to types we were able to use native ESM to get type access. Since the type system has zero runtime benefit, I've migrated all imports into JSDoc import comments and assigned local typedefs into each module scope.

This gets rid of circular dependency warnings and should be easier to read.