#WebStormTip 2019.1: Press Alt-Enter on a function that returns a Promise to convert it to an async function with async/await.
Works in JS, TS, and Flow.
https://blog.jetbrains.com/webstorm/2019/03/webstorm-2019-1/#convert_promise_to_async_await …pic.twitter.com/91SKlqYPTL
-
-
Replying to @WebStormIDE
Somewhat unexpected result
pic.twitter.com/4p6CTxOQvR
2 replies 0 retweets 2 likes
Replying to @vladholubiev
Thanks for the code sample! We'll have a closer look at it and will send you a link to the issue that you can follow.
10:39 AM - 26 Mar 2019
0 replies
0 retweets
1 like
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.