ruffsl to ProgrammingEnglish • 10 months agoBig projects are ditching TypeScript… wtf? - The Code Reportyoutube.comexternal-linkmessage-square46arrow-up199arrow-down142cross-posted to: typescript
arrow-up157arrow-down1external-linkBig projects are ditching TypeScript… wtf? - The Code Reportyoutube.comruffsl to ProgrammingEnglish • 10 months agomessage-square46cross-posted to: typescript
minus-square@[email protected]linkfedilink1•edit-210 months agoUgh? Why shouldn’t it be the same code?
minus-square@[email protected]linkfedilink1•10 months agoBecause Browsers can’t run Typescript, they run JavaScript. That’s why the intermediate conversion step isneededd.
minus-square@[email protected]linkfedilink1•edit-29 months 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