You can’t run away from runtime errors using TypeScript
TypeScript helps a lot when dealing with type errors at compile time. However, form inputs or third-party API responses can cause runtime errors if the types don’t match. This post will explain why runtime errors happen when working with external...