From TypeScript to WebAssembly in few steps
How to build your first Program in WebAssembly
Published in
4 min readDec 26, 2020
In this article, I will show you how to compile a TypeScript program to WebAssemby that prints the factorial of a number.
I will write it using TypeScript and then compile it with AssemblyScript, which compiles a strict variant of TypeScript to WebAssembly(Wasm) using Binaryen.