Github
Preparing search index...
The search index is not available
Documentation
Documentation
@web3-storage/access
Schema
InferVariant
Type alias InferVariant<Choices>
Infer
Variant
<
Choices
>
:
{
[
Case
in
keyof
Choices
]
:
{
[
Key
in
Exclude
<
keyof
Choices
,
Case
>
]
?:
never
}
&
{
[
Key
in
Case
]
:
Choices
[
Case
]
extends
Schema
.
Reader
<
infer
T
>
?
T
:
never
}
}
[
keyof
Choices
]
Utility type for inferring the
Variant
from
VariantChoices
.
Type Parameters
Choices
extends
Schema
.
VariantChoices
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
Documentation
@web3-storage/access
@web3-storage/capabilities
@web3-storage/upload-client
@web3-storage/filecoin-client
@web3-storage/w3up-client
Generated using
TypeDoc
Utility type for inferring the Variant from VariantChoices.