This is caused by the global Promise
not having a compatible signature to
support async
/await
downlevel emit.
Fix: Issue with promise library.
Either the 3rd party promise library cannot be used with TypeScript to down
level emit async
/await
or there is a configuration issue with the library
that is not allowing TypeScript to understand it will work. Consult the current
documentation for the 3rd party promise library.