I saw that there already is a compiler for compiling TypeScript to WebAssembly (Wasm), here is the link.
I also heard from multiple sources that compiling JS to Wasm wouldn't be feasible, because of JavaScript's dynamic nature and dynamic types.
However, TypeScript does offer typed variables which JavaScript lacks. And in the future Wasm might be able to even interact with the DOM/interact with other web API.
Question:
Would writing applications in TypeScript and compiling it to Wasm offer any performance benefits when compared to writing a web application in JavaScript?