|
@mattbierner | |||||
|
Want a glimpse of the not-so-distant future? You can start using optional chaining and null coalescing in @code today with the TypeScript nightly extension!
marketplace.visualstudio.com/items?itemName…
Both are on track for #JavaScript standardization and will be supported by #TypeScript 3.7 pic.twitter.com/0yt5o2hOuJ
|
||||||
|
||||||
|
Matt Bierner
@mattbierner
|
15. lis |
|
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
|
||
|
|
||
|
Glen
@monkey2Ybanana
|
15. lis |
|
|
||
|
Optimus
@babacarcissedia
|
16. lis |
|
is .? available in latest chrome version ? how is the support for other browsers ?
|
||
|
|
||
|
William Cantin
@wilomgfx
|
16. lis |
|
It's not out yet its in stage 3
github.com/tc39/proposal-…
|
||
|
|
||
|
Glen
@monkey2Ybanana
|
15. lis |
|
|
||
|
Shawn Reisner
@ReisnerShawn
|
16. lis |
|
Where can I find the release notes for this?
|
||
|
|
||
|
mika
@OH_NOES
|
16. lis |
|
Really cool, but could you use videos next time? Wanted to pause it to look at this interesting feature :D
|
||
|
|
||
|
mika
@OH_NOES
|
16. lis |
|
(I know gif has pause but the rest of the video features are also handy :D)
|
||
|
|
||
|
Patrick Desjardins
@mrdesjardins
|
16. lis |
|
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🤯
|
||
|
|
||
|
Robert Korzeniowski
@RobertKorzenio2
|
17. lis |
|
Great long missing syntactic sugar
|
||
|
|
||