Reader Question

31 articles 路 all categories

1 article from October 2023 show all

TypeScript runtime vs types at run-time

Understanding the nuances of TypeScript: it adds static types to JavaScript, reducing bugs by checking code validity pre-run. But imagine if we had types at run-time too - validating inputs, enhancing error messages. A dream, but a nice one.