Function abstractModelClass

  • Type Parameters

    • T

    Parameters

    • type: T

      Abstract model class.

    Returns T & Object

    Should not be needed anymore.

    Tricks TypeScript into accepting abstract classes as a parameter for ExtendedModel. Does nothing in runtime.

    T Abstract model class type.