Microsoft has released VS Code 1.41. This update fixes seven notable bugs, adds new workbench and editor functions and comes with support for optional chaining in TypeScript and JavaScript.
Language updates
The latest VS Code version comes with TypeScript 3.7.3. This means all the new language features are on board, such as optional chaining, nullish coalescing and assertion functions.
SEE ALSO: TypeScript 3.7 adds long-awaited optional chaining feature
Optional chaining is supported out of the box for both JavaScript and TypeScript, with syntax highlighting and IntelliSense:
VS Code now also automatically inserts ?.
when users accept a completion on an optional property.
Source : JAXenter