Function formatClassType

  • Type Parameters

    • Data

    • Class extends (new (arg) => InstanceType<Class>)

    Parameters

    • data: Data | InstanceType<Class>
    • type: Class

    Returns InstanceType<Class>

  • Type Parameters

    • Data

    • Class extends (new (arg) => InstanceType<Class>)

    Parameters

    • data: undefined | Data | InstanceType<Class>
    • type: Class

    Returns InstanceType<Class> | undefined

Generated using TypeDoc