An async function or method must have a valid awaitable return type
While trying to create an async function with a return type, i encounter this error message :-
"An async function or method must have a valid awaitable return type"
this simply means that we need to have a function with the following signature which receive a Promise
That's it ! :)
Comments