PokéRogue
GitHub
Switch to Beta
Preparing search index...
src/@types/new-battle-props
_ApplyDefaultOptions
Type Alias _ApplyDefaultOptions<Options, Defaults, SpecifiedOptions>
_ApplyDefaultOptions
:
If
<
IsAny
<
SpecifiedOptions
>
,
Defaults
,
If
<
IsNever
<
SpecifiedOptions
>
,
Defaults
,
Merge
<
Defaults
,
{
[
Key
in
keyof
SpecifiedOptions
as
undefined
extends
Required
<
Options
>
[
Key
&
keyof
Options
]
?
Key
:
undefined
extends
SpecifiedOptions
[
Key
]
?
never
:
Key
]
:
SpecifiedOptions
[
Key
]
}
,
>
,
>
,
>
Type Parameters
Options
Defaults
SpecifiedOptions
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
GitHub
Switch to Beta
PokéRogue
Loading...