@arcmantle/library
Preparing search index...
types/utility-types
CompatibilityOf
Type Alias CompatibilityOf<T, M>
CompatibilityOf
:
[
T
]
extends
[
M
]
?
[
M
]
extends
[
T
]
?
"equal"
:
"similar"
:
"different"
Describes how
T
compatible with
M
?
'equal'
:
T
and
M
are exactly the same.
'similar'
:
T
is a subset of
M
, such as
'a'
being a subset of
string
.
'different'
:
T
is not even a subset of
M
.
Type Parameters
T
M
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@arcmantle/library
Loading...
Describes how
Tcompatible withM?'equal':TandMare exactly the same.'similar':Tis a subset ofM, such as'a'being a subset ofstring.'different':Tis not even a subset ofM.