Post

A namespace in which you only define types. So you can do stuff like this: declare namespace someFn { interface Options {} interface Result {} } function someFn(options: someFn.Options): someFn.Result {}

It appears it's a recurring theme for me to wonder, but maybe this gets also easier to create HTML files that use TS code like through links or important and the developer experience and bundling just works. Albeit probably just stripping types and linking JS in HTML works well as an experience.

I've using types-striping and the native test runner on my latest project and the devx is so much better than the layers of config I was used to