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.
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.