Hacker News new | past | comments | ask | show | jobs | submit login

The tests asserting certain properties are just type checks, albeit weak and less-safe ones. If you have to make sure a property exists then that is 100% not a logic concern. It's a check on the structural integrity of the module.

You can eliminate a whole group of tests in TS that you would otherwise need in a JS project.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact