If true
then validator functions are rendered along with types.
The callback that produces the validator compilation dialect.
Returns the doc comment string that is associated with the node.
Returns the name of the union discriminator property.
Returns the name of the enum key.
Returns the name of the interface that is the part of the discriminated union.
Returns the new name of an object property.
Returns a TypeScript type name described by node
.
The ref of the renamed type.
The node that describes the renamed type.
Returns the name of the type guard function.
Returns the name of the enum that holds mapping keys for the discriminated union.
Returns the contents of the value from the enum that holds discriminator values.
Returns the name of the emitted validator function.
Returns the contents of the enum value.
Returns the value that would be used as a value of the discriminator property.
Returns a TypeScript type name of a JTD primitive type. By default, a jtdTsPrimitiveTypeMap is used to resolve the name.
Generated using TypeDoc
If set to
true
then type guards are rendered along with validators.TypeScript Narrowing