Visual Studio Code can now convert your long chains of Promise.then()'s into async/await!
Works very well in both JavaScript and TypeScript files. .catch() is also correctly converted to try/catch
pic.twitter.com/xb39Lsp84V
-
-
We have double-checked that and it actually works in WS 2018.2! Update your project TypeScript version to 3.1 (and check that the correct version is selected in the IDE Preferences | TypeScript) and make sure that the compilation target is set to es6 in tsconfig.json.pic.twitter.com/64lyOefZLx
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.