Function definePrototypeConstant

  • Type Parameters

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

    Parameters

    • Class: T
    • property: P

      name of the property

    • value: V

      value

    • Optionaloptions: EnumerableOptions
      • Optionalenumerable?: boolean

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

    Class