TypeScript Refactoring

The Beauty of the Optional Chaining Operator (?.) in TypeScript

Optional Chaining offers a new way to refactor our TypeScript and JavaScript code. TypeScript 3.7 presents Elvis (?.)

Lewis Fairweather
JavaScript in Plain English
6 min readOct 12, 2020

--

The optional chaining operator is supported all popular browsers…

--

--