4 ms·
The link states that you can "disable" the type checking for production use. I wonder if there's still a slight performance penalty. Atleast my "toy" project fo
by nawitus 12y ago
The link states that you can "disable" the type checking for production use. I wonder if there's still a slight performance penalty. Atleast my "toy" project for runtime type checking has that slight performance penalty even when it's disabled:
https://github.com/panuhorsmalahti/typed-javascript https://github.com/panuhorsmalahti/typed-javascript
- malandrew 12y agoThanks for the link. That's an interesting approach that I hadn't considered. Would be nice to see it also support checking the return types and higher-order functions.