Nim can take at typescript: its type system can express a lot of the cool typescript stuff and more(not everything, but a lot), we can probably autotranslate a lot of the definition libs and interop very well with JavaScript code: also you can reuse code from native codebases. The only reasons it's not are:
this is not a focus of Nim maybe this is not needed if we get a good wasm backend lack of resources
