Function model

  • Type Parameters

    • T = unknown

    Parameters

    • Model: (new (...args) => T)
        • new (...args): T
        • Parameters

          • Rest ...args: any
            Rest

          Returns T

    • Optional connection: string
      Optional
    • options: ICustomOptions = {}

    Returns ((proto, key) => void)

      • (proto, key): void
      • Parameters

        • proto: any
        • key: string

        Returns void

    Description

    Model injection decorator

Generated using TypeDoc