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

Presumably people will only use it in situations where null (or undefined, or however it works) is a valid and expected value for a particular property.

In TypeScript, these properties would explicitly have a `MyType|null` or `MyType|undefined` type.




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

Search: