![await' expression is only allowed within an async function. · Issue #10 · typeorm/ionic-example · GitHub await' expression is only allowed within an async function. · Issue #10 · typeorm/ionic-example · GitHub](https://user-images.githubusercontent.com/10194510/35103536-6742f5b4-fc66-11e7-848c-c33400390295.png)
await' expression is only allowed within an async function. · Issue #10 · typeorm/ionic-example · GitHub
![Async & Await in JavaScript. What is Async Await in JavaScript, and… | by Abdul Haseeb Khan | JavaScript in Plain English Async & Await in JavaScript. What is Async Await in JavaScript, and… | by Abdul Haseeb Khan | JavaScript in Plain English](https://miro.medium.com/max/1400/1*G2t_YhD_QzQZXrdxI8LPFg.jpeg)
Async & Await in JavaScript. What is Async Await in JavaScript, and… | by Abdul Haseeb Khan | JavaScript in Plain English
error TS1308: 'await' expression is only allowed within an async function · Issue #8 · microsoft/vscode-cpptools-api · GitHub
![await' expressions are only allowed within async functions and at the top levels of modules. : r/typescript await' expressions are only allowed within async functions and at the top levels of modules. : r/typescript](https://preview.redd.it/516ruhj6qr771.png?width=725&format=png&auto=webp&s=2f5eb22b8ece7d42ebb9e6423c407a9eb8972e26)