It absolutely was. All it takes is a quick look around other language ecosystems and JS itself.
Rust is an excellent language for embedding in other languages And underpinning developer tools.
That said, someday the new typescript binary will compile to WebAssembly, and it won’t matter much anyway.