Typescript in WebAssembly
TypeScript is a popular language in its own right, but it is a very near relative of JavaScript. In fact, most of the time, TS code is converted to JavaScript during the development cycle. As such, the best approach to using TypeScript in WebAssembly is to convert it and use JavaScript tools.
Another potential solution is to use AssemblyScript, a subset of TypeScript tooled specifically for WebAssembly.
Learn More
Here are some great resources:
- A detailed post on moving from TypeScript to AssemblyScript