Function definePrototypeSetter

  • Type Parameters

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

    Parameters

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

    Class