wasm is just too hamstrung by its sandbox to be really useful everywhere I once imagined. years ago, I wanted to put my redux-like state machine in it so I could run the same version on mobile clients as well as web. but because there isn't a good solution for sharing memory between JS and WASM, and there's no way to let the WASM talk directly to IndexedDb, browser storage and the like, it was dead in the water
it was too inefficient (and overly complicated) to duplicate application state that the DOM needed between both sources and required so much glue code to reach the services I needed that it totally killed my interest in using wasm for web apps. LLMs don't even really change the picture for me; it doesn't have the performance characteristics I was seeking, so just getting it to work with tons of code in spite of the poor interfaces would have subverted half my reasoning to use it
Sure it's not a great solution but it's attempting to open up the Web APIs to any language which is the right approach. Ideally they would somehow be exposed directly bypassing JS, but browsers are security nightmares. The approach is not to use those APIs from WASM but instead use it as the backend to the frontend or the middle layer where most of the logic would live.
The reason we have React, TS, and a crazy ecosystem is because client apps have become very large and complex. Adding more layers isn't addressing the complexity at its core: the Web layer was designed for blogs and websites like HN, not for interactive or complex client apps.
I guess it's more a rant about the Web, not so much this TS extension.