Relative Content

Tag Archive for typescriptasync-await

Await automatically

Is possible to call a function in typescript as if it were with async but without async? It’s useful for an ORM when we are fetching data with relations from the database. We have to add “await” every time when we call async function.