Note: if you want @code to automatically insert ?. after accepting a suggestion on a potentially undefined value, set "strictNullChecks": true in your jsconfig/tsconfig
Our IntelliSense still understands ?. without any config but won't auto insert the ?. for you
-
-
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
is .? available in latest chrome version ? how is the support for other browsers ?
-
It's not out yet its in stage 3https://github.com/tc39/proposal-optional-chaining …
End of conversation
New conversation -
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Where can I find the release notes for this?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Really cool, but could you use videos next time? Wanted to pause it to look at this interesting feature :D
-
(I know gif has pause but the rest of the video features are also handy :D)
End of conversation
New conversation -
-
-
I thought your video would present a "Quick-Fix" by pressing a button and the code would refactor by itself with optional chaining That would be
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Great long missing syntactic sugar
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.