Skip to main content

MatchingModel <S>

@group

Types

Index

Constructors

constructor

  • MatchingModel<S>(actual: AModel<S, any>, schemaTranslator?: (synth: any) => S): MatchingModel<S>
  • Type parameters

    • S: object

    Parameters

    • actual: AModel<S, any>
    • optionalschemaTranslator: (synth: any) => S

      Returns MatchingModel<S>

    Methods

    getActual

    • getActual(): AModel<Record<never, never>, any>
    • Returns AModel<Record<never, never>, any>

    getSchemaInstance

    • getSchemaInstance(): S
    • Returns S

    hasSchemaTranslator

    • hasSchemaTranslator(): boolean
    • Returns boolean