consider this simple class
class Test { private foo(): Promise { return new Promise((resolve, reject) => { res
Typescript includes the __awaiter helper because async/await is not a part of the es6/es2015 specification.
__awaiter
async
await
es6
es2015
Initial definition in ES2017. -- MDN
If you don't want to include this helper, you need to target es2017.
es2017