You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Vue component which has 2 very similar methods that use an asynchronous call and then do something when it completes. Note this code works, but the syntax highlighting doesn't work for the second function. The await reserved word is in plain white, not red. I know I could store the return value in the second function before calling $router.push(), but I just want to use the return value directly in the argument to that call. It seems the matcher doesn't recognise await if it is inside parentheses.
Activity
deathlynocturnal commentedon May 25, 2018
Yeah I have seen this, looks like it doesn't recognise the await word when contained in a function call.
deathlynocturnal commentedon Jul 20, 2018
Is this project dead?