Radon Rosborough
Jul 21, 2017 · 1 min read

“If type checking fails then no code is generated.” – this is wrong. If type checking fails then code generation proceeds. Under all circumstances. If TypeScript cannot make any sense of your code, it just copies it over.

I also don’t really understand this article. Browsers can only run JavaScript – period. There will be no changing that. You can’t literally have TypeScript running on the client-side; that’s impossible. I would interpret your quote as expressing a desire that more people used TypeScript to generate their front-end code.

)
    Radon Rosborough

    Written by