TypeScript to Zig
TypeScript input:
Zig output:
You can test the compiled output in the
Zig playground.