Function definePrototypeConstant

  • Type Parameters

    • T extends {
          prototype: unknown;
      }
    • P extends string
    • V

    Parameters

    Returns any | T & {
        readonly [K in P]: V
    }

    Class