3 ms·
I’m unfamiliar with TS. Could someone explain this part? > Invoke the compiler $ tsc *.ts --lib esnext --outFile /dev/stdout var ᚾ = Symbol(); va
by thih9 4y ago
I’m unfamiliar with TS. Could someone explain this part?
> Invoke the compiler
$ tsc *.ts --lib esnext --outFile /dev/stdout
var ᚾ = Symbol();
var ᛊ = Symbol();
var ᛚ = Symbol();
var ᛞ = Symbol();
Why is there so little output? Is that because the compiler removed the unneeded types? And the author is implying that the task was boilerplate and pointless?
- agmyintmyatoo 4y agoEverything is only in type system providing developer type-hints. When compiled, it all boiled down to plain js.