I am trying to await for a promise based function to execute, but in vs code it is showing that \'await\' has no effect on the type of this expression.
Await is worki