createTRPCHandle()
Create a handle
function for SvelteKit hooks.server
.
Signature
createTRPCHandle<T>(options: TRPCHandleOptions<T, Partial<Record<string, string>>, null | string>): Handle;
Type parameters
T
extendsRouter
<AnyRouterDef
<AnyRootConfig
,any
>,T
>
Parameters
Name | Type |
---|---|
options | TRPCHandleOptions <T , Partial <Record <string , string >>, null | string > |
Returns
Handle
Defined in: handle.ts:11