Created
January 14, 2022 09:52
-
-
Save holgergp/f2877f849a4a6f4d574c09a7eb253ad8 to your computer and use it in GitHub Desktop.
First Awaited Code (TypeScript 4.5 Article)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function usingAwaitedAsAReturnType(): Awaited { | |
const result = await Promise.resolve(true) | |
return result; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment