Y
Hacker News
new
|
ask
|
show
|
jobs
by
wikitopian
1426 days ago
Oh thank God. There aren't nearly enough ways to write javascript.
1 comments
munchler
1426 days ago
There's no Javascript (or any other runtime) code in this at all. It all happens at compile-time.
link
shepherdjerred
1426 days ago
But you probably are going to be running this as JS eventually
link
munchler
1426 days ago
There's literally nothing to run. The source file is just a bunch of type declarations.
link
mirekrusin
1426 days ago
If you transpile it to js, you'll get empty file.
link
lozenge
1426 days ago
The real lesson isn't the output of our build system, it's the types we checked along the way.
link