Clarification: TS team is aware of this feature desire and has a plan to support it (their plan is hinged on an existing standard that is still being locked down for JS; details in <a href="https://github.com/Microsoft/TypeScript/issues/16" rel="nofollow">https://github.com/Microsoft/TypeScript/issues/16</a>).<p>No real benefit in voting on it now, other than to express your added desire for a thing the TS team already knows people want.
It's been years since this proposal and everyone keeps arguing over semantics yet I don't see any semantics being changed. So what's the holdup? I understand constraints and external factors/dependencies but this seems like such a trivial change that it boggles me we don't have this as a standard feature yet.
Interesting. I think I saw this in Swift? Or c#? I guess in Python this is where EAFP comes in.<p>I definitely hate chains of guards to get at a nested property.