Hacker News new | ask | show | jobs
by munchler 1426 days ago
There's no Javascript (or any other runtime) code in this at all. It all happens at compile-time.
1 comments

But you probably are going to be running this as JS eventually
There's literally nothing to run. The source file is just a bunch of type declarations.
If you transpile it to js, you'll get empty file.
The real lesson isn't the output of our build system, it's the types we checked along the way.