The legendary Ryan dahl is actually working on solving the exact problem you described by creating a new package registry called JSR.
Essentially what it does is allow you to upload your typescript code without a build step so when other devs install it they can see the source code of the module in it's original typescript instead of transpiled JavaScript.