@trpc/server
Version:
9 lines (8 loc) • 363 B
text/typescript
import "./unstable-core-do-not-import-C8Gy-fzS.cjs";
/**
* The type a function's promise resolves to.
* @deprecated Use `Awaited<ReturnType<typeof myFunction>>` instead.
*/
type inferAsyncReturnType<TFunction extends (...args: any[]) => any> = Awaited<ReturnType<TFunction>>;
export { inferAsyncReturnType as t };
//# sourceMappingURL=index-DVXG_v0W.d.cts.map