✳flâneur — a map of the web's best reading
TypeScript: Documentation
typescriptlang.org · 4,845 words · saved by 1 readers
TypeScript 3.7 Release Notes
Optional Chaining Playground Optional chaining is issue #16 on our issue tracker. For context, there have been over 23,000 issues on the TypeScript issue tracker since then. At its core, optional chaining lets us write code where TypeScript can immediately stop running some expressions if we run into a null or undefined . The star of the show in optional chaining is the new ?. operator for optional property accesses . When we write code like ts let x = foo ?. bar . baz (); this is a way of saying that when foo is defined, foo.bar.baz() will be computed; but when foo is null or undefined , stop
Explore this link on the map →saved by
related reading
- TypeScript: Documentation - The Basicstypescriptlang.org
- TypeScript: Documentation - TypeScript 3.8typescriptlang.org
- TypeScript: Documentation - Object Typestypescriptlang.org
- Reading 2: Basic TypeScriptweb.mit.edu
- Basic TypeScriptweb.mit.edu
- TypeScript: Documentation - Classestypescriptlang.org
- TypeScript: Documentation - TypeScript for the New Programmertypescriptlang.org
- Typescript utility types that you must know - DEV Communitydev.to
- Reading 1: Static Checkingweb.mit.edu
- Reading 1: Static Checkingweb.mit.edu
- Everything is Fertilenickcammarata.com
- TypeScript Structured Concurrencythecandidstartup.org