Beignet API reference
Preparing search index...
@beignet/core
client
InferSuccessResponse
Type Alias InferSuccessResponse<TContract>
InferSuccessResponse
:
TContract
[
"responses"
]
extends
Partial
<
Record
<
number
,
StandardSchema
|
null
>
,
>
?
Any2xxKey
<
TContract
[
"responses"
]
>
extends
infer
K
?
K
extends
keyof
TContract
[
"responses"
]
?
InferResponseType
<
TContract
[
"responses"
]
[
K
]
>
:
unknown
:
unknown
:
unknown
Infer success response body from a contract.
This is the union of all declared 2xx response schemas.
Type Parameters
TContract
extends
HttpContractConfig
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Beignet API reference
Loading...
Infer success response body from a contract.
This is the union of all declared 2xx response schemas.