UNPKG

@trpc/server

Version:

The tRPC server library

9 lines (8 loc) • 363 B
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