Preparing search index...
The search index is not available
typed-json
typed-json
PrimitiveFor
Type alias PrimitiveFor<T, J>
Primitive
For
<
T
,
J
>
:
T
extends
undefined
?
JsonPrimitive
:
J
extends
JsonPrimitive
?
T
extends
typeof
String
?
string
:
T
extends
typeof
Boolean
?
boolean
:
T
extends
typeof
Number
?
number
:
T
:
never
Type Parameters
T
extends
PrimitiveClass
|
undefined
J
extends
JsonValue
Advanced
Settings
Member Visibility
Advanced
Alpha
Beta
Theme
OS
Light
Dark
typed-json
Parse
parseJSON
Predicates
isArray
isObject
isPrimitive
Core Types
JsonArray
JsonObject
JsonPrimitive
JsonValue
Advanced Usage
PrimitiveClass
PrimitiveClassFor
PrimitiveFor
Readonly
ReadonlyJsonArray
ReadonlyJsonObject
ReadonlyJsonValue
Generated using
TypeDoc
Advanced