@bluelibs/runner - v5.5.0
Preparing search index...
EnsureOutputSatisfiesContracts
Type Alias EnsureOutputSatisfiesContracts<TItems, TResponse>
EnsureOutputSatisfiesContracts
:
[
ContractsUnionOutputs
<
TItems
>
]
extends
[
never
]
?
TResponse
:
TResponse
extends
Promise
<
infer
U
>
?
Promise
<
U
extends
ContractsIntersectionOutputs
<
TItems
>
?
U
:
OutputContractViolationError
<
TItems
,
U
>
,
>
:
TResponse
extends
ContractsIntersectionOutputs
<
TItems
>
?
TResponse
:
OutputContractViolationError
<
TItems
,
TResponse
>
Type Parameters
TItems
extends
readonly
unknown
[]
TResponse
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@bluelibs/runner - v5.5.0
Loading...