It’s based on the DOOM-ASCII project, a functional version of DOOM playable in text-only environments with ASCII characters, compiled for web browsers using WebAssembly and Emscripten.
Developer Dmitri Mitropoulos has managed to get Doom running inside of Typescript Types, after a year-long effort, resulting in three and a half trillion lines of types.