@@ -61,17 +61,17 @@ export interface DevframeScopedClientRpc<NS extends string = string> {
6161 readonly namespace : NS ;
6262 register : ( _ : RpcFunctionDefinition < string , any , any , any , any , any , DevframeRpcContext > ) => void ;
6363 call : {
64- < T extends keyof ScopedServerFunctions < NS > & string > ( _ : T , ..._ : Parameters < Extract < ScopedServerFunctions < NS > [ T ] , AnyRpcFn > > ) : Promise < Awaited < ReturnType < Extract < ScopedServerFunctions < NS > [ T ] , AnyRpcFn > > > > ;
64+ < T extends keyof ScopedServerFunctions < NS > & string > ( _ : T , ..._ : Parameters < ScopedRpcFn < DevframeRpcServerFunctions , NS , T > > ) : Promise < Awaited < ReturnType < ScopedRpcFn < DevframeRpcServerFunctions , NS , T > > > > ;
6565 < T extends keyof DevframeRpcServerFunctions & string > ( _ : T , ..._ : Parameters < Extract < DevframeRpcServerFunctions [ T ] , AnyRpcFn > > ) : Promise < Awaited < ReturnType < Extract < DevframeRpcServerFunctions [ T ] , AnyRpcFn > > > > ;
6666 ( _ : string , ..._ : any [ ] ) : Promise < any > ;
6767 } ;
6868 callEvent : {
69- < T extends keyof ScopedServerFunctions < NS > & string > ( _ : T , ..._ : Parameters < Extract < ScopedServerFunctions < NS > [ T ] , AnyRpcFn > > ) : void ;
69+ < T extends keyof ScopedServerFunctions < NS > & string > ( _ : T , ..._ : Parameters < ScopedRpcFn < DevframeRpcServerFunctions , NS , T > > ) : void ;
7070 < T extends keyof DevframeRpcServerFunctions & string > ( _ : T , ..._ : Parameters < Extract < DevframeRpcServerFunctions [ T ] , AnyRpcFn > > ) : void ;
7171 ( _ : string , ..._ : any [ ] ) : void ;
7272 } ;
7373 callOptional : {
74- < T extends keyof ScopedServerFunctions < NS > & string > ( _ : T , ..._ : Parameters < Extract < ScopedServerFunctions < NS > [ T ] , AnyRpcFn > > ) : Promise < Awaited < ReturnType < Extract < ScopedServerFunctions < NS > [ T ] , AnyRpcFn > > > | undefined > ;
74+ < T extends keyof ScopedServerFunctions < NS > & string > ( _ : T , ..._ : Parameters < ScopedRpcFn < DevframeRpcServerFunctions , NS , T > > ) : Promise < Awaited < ReturnType < ScopedRpcFn < DevframeRpcServerFunctions , NS , T > > > | undefined > ;
7575 < T extends keyof DevframeRpcServerFunctions & string > ( _ : T , ..._ : Parameters < Extract < DevframeRpcServerFunctions [ T ] , AnyRpcFn > > ) : Promise < Awaited < ReturnType < Extract < DevframeRpcServerFunctions [ T ] , AnyRpcFn > > > | undefined > ;
7676 ( _ : string , ..._ : any [ ] ) : Promise < any > ;
7777 } ;
0 commit comments