Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ITsModulesCompilerOptions<M, C>

Type parameters

  • M

  • C

Hierarchy

Index

Properties

Optional typeGuardsRendered

typeGuardsRendered: boolean

If set to true then type guards are rendered along with validators.

see

TypeScript Narrowing

Optional validatorsRendered

validatorsRendered: boolean

If true then validator functions are rendered along with types.

Methods

Optional dialectFactory

Optional getDocComment

  • getDocComment(node: JtdNode<M>): undefined | null | string

Optional renameDiscriminatorKey

Optional renameEnumKey

  • renameEnumKey(value: string, node: IJtdEnumNode<M>): string

Optional renameMappingInterface

Optional renamePropertyKey

Optional renameType

  • renameType(ref: string, node: JtdNode<M>): string

Optional renameTypeGuard

  • renameTypeGuard(ref: string, node: JtdNode<M>): string

Optional renameUnionEnum

Optional renameUnionEnumKey

Optional renameValidator

  • renameValidator(ref: string, node: JtdNode<M>): string

Optional rewriteEnumValue

  • rewriteEnumValue(value: string, node: IJtdEnumNode<M>): undefined | string | number

Optional rewriteMappingKey

  • rewriteMappingKey(mappingKey: string, mappingNode: IJtdObjectNode<M>, unionRef: undefined | string, unionNode: IJtdUnionNode<M>): undefined | string | number

Optional rewritePrimitiveType

Generated using TypeDoc