@sora-soft/framework / RouteRPCMethod
Type Alias: RouteRPCMethod<T, K>
ts
type RouteRPCMethod<T, K> = (body, options?, raw?) => ReturnType<TypeOfClassMethod<T, K>>;Defined in: packages/framework/src/lib/rpc/provider/ProviderManager.ts:22
Type Parameters
| Type Parameter |
|---|
T extends Route |
K extends keyof T |
Parameters
| Parameter | Type |
|---|---|
body | UndefinedToVoid<Parameters<TypeOfClassMethod<T, K>>[0]> |
options? | IRequestOptions |
raw? | false |
Returns
ReturnType<TypeOfClassMethod<T, K>>