|
|
|
|
|
by vhakulinen
2324 days ago
|
|
> My JavaScript tests catch typoed property names every time. My typescript compiler catches typoed property names every time. > I can't remember the last time I merged code with a typo in a property name. I can't remember the last time my newly written code made it into the runtime/browser with a typo in a property name. > ...if you typoed a property name and your tests didn't catch it, it means that either your tests are poorly written or your object didn't need that property to begin with. The types are much more than just property names. |
|