#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 @WebStormIDE
Created a new ticket, thank you: https://youtrack.jetbrains.com/issue/WEB-38013 .
1 reply 0 retweets 1 like -
Replying to @zhuravlik26 @WebStormIDE
Wow, it's already fixed and will be available in 2019.1.1, fantastic! Thank you!
1 reply 0 retweets 0 likes
Replying to @vladholubiev @zhuravlik26
Thanks for reporting a problem! 
5:11 AM - 27 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.