I fixed my Library by removing TypeScript
github.com
github.com
That's totally valid, of course. TypeScript has work to do to prevent accidental misuse. But a lot of the sharp edges are also necessary to allow interop with the various ES module systems and existing libraries.