Documentation
Preparing search index...
@alexaegis/match
index
JsonMatcherFrom
Type Alias JsonMatcherFrom<T>
JsonMatcherFrom
:
|
CustomJsonValueMatcher
<
T
>
|
(
T
extends
string
?
T
|
RegExp
:
T
extends
object
?
{
[
K
in
keyof
T
]
?:
JsonMatcherFrom
<
T
[
K
]
>
}
:
T
extends
(
infer
R
)
[]
?
JsonMatcherFrom
<
R
>
[]
:
T
)
Turns a type into one that describes a valid matcher object for it.
Beautiful.
Type Parameters
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Turns a type into one that describes a valid matcher object for it.
Beautiful.