▲ | nine_k 4 days ago | |
Or maybe even https://github.com/bloomberg/ts-blank-space But I bet on swc, which is used by Deno internally, or on the Bun's built-in transpiler that does things similar to swc or ts-blank: they all assume that the code is semantically correct (not just syntactically valid) Typescript, and then just ignore the Typescript-specific bits. |