DEV Community

Discussion on: You can’t run away from runtime errors using TypeScript

Collapse
 
efpage profile image
Eckehard

If you are just about parameter checks, you can use this small routine with a nice scheme.

Collapse
 
miguelo0098 profile image
Miguelo Ramírez

Thanks! I'll have a look.