Vinyl
Preparing search index...
@amzn/vinyl-util
FromTypeof
Type Alias FromTypeof<T>
FromTypeof
:
T
extends
"bigint"
?
bigint
:
T
extends
"boolean"
?
boolean
:
T
extends
"function"
?
Fun
:
T
extends
"number"
?
number
:
T
extends
"object"
?
object
|
null
:
T
extends
"string"
?
string
:
T
extends
"symbol"
?
symbol
:
T
extends
"undefined"
?
undefined
:
any
Given a possible result from
typeof
, provides the type to the matched value.
Type Parameters
T
extends
Typeof
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Vinyl
Loading...
Given a possible result from
typeof, provides the type to the matched value.