ruffsl to [email protected]English • 1 year agoBig projects are ditching TypeScript… wtf? - The Code Reportyoutube.comexternal-linkmessage-square42fedilinkarrow-up194arrow-down142cross-posted to: [email protected]
arrow-up152arrow-down1external-linkBig projects are ditching TypeScript… wtf? - The Code Reportyoutube.comruffsl to [email protected]English • 1 year agomessage-square42fedilinkcross-posted to: [email protected]
minus-square@[email protected]linkfedilink1•1 year agoBecause Browsers can’t run Typescript, they run JavaScript. That’s why the intermediate conversion step isneededd.
minus-square@[email protected]linkfedilink1•edit-21 year agoBut your tests are running on the compiled code too. Nothing can be tested but handwritten assembly, with such approach
Ugh? Why shouldn’t it be the same code?
Because Browsers can’t run Typescript, they run JavaScript. That’s why the intermediate conversion step isneededd.
But your tests are running on the compiled code too. Nothing can be tested but handwritten assembly, with such approach