TypeScript’s New Top-Level Await
If you want to use async/await inside JavaScript in general, you have to define an async function before you can use the await.
In this article, I want to show you that it is possible to finally use top-level await instead of wrapping it between an a...
hasnode.byrayray.dev3 min read