xxxxxxxxxx
// its for transforming a type into what it is after you await it, for example
async function myAsyncFunction(): Promise<string> {
let res = await fetch("https://google.com")
return res.text()
}
type FunctionReturn = ReturnType<typeof myAsyncFunction>
// FunctionReturn == Promise<string>
type FunctionReturnAwaited = Awaited<FunctionReturn>
// FunctionReturnAwaited == string