Preparing search index...
The search index is not available
express-yaschema-ws-api-handler
express-yaschema-ws-api-handler
InferWsApiRequestHandlerTypeFromApi
Type Alias InferWsApiRequestHandlerTypeFromApi<ApiT, CommandNameT, ExtraArgsT>
Infer
Ws
Api
Request
Handler
Type
From
Api
<
ApiT
,
CommandNameT
,
ExtraArgsT
>
:
ApiT
extends
WsApi
<
infer
RequestCommandsT
,
infer
ResponseCommandsT
,
infer
QueryT
>
?
CommandNameT
extends
keyof
RequestCommandsT
&
string
?
WsApiRequestHandler
<
RequestCommandsT
,
ResponseCommandsT
,
CommandNameT
,
QueryT
,
ExtraArgsT
>
:
never
:
never
Type Parameters
ApiT
CommandNameT
ExtraArgsT
extends
Record
<
string
,
any
>
=
Record
<
string
,
never
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
express-yaschema-ws-api-handler
Loading...