x/evt/tools/typeSafety/AsyncReturnType.ts
123/** Extract the return type of an async function */export type AsyncReturnType<T extends (...args: any) => Promise<any>> = T extends (...args: any) => Promise<infer R> ? R : never;