Function defineProperties

  • Shortcut for Object.defineProperties

    Type Parameters

    • T
    • P extends Record<string, any>

    Parameters

    • target: T
    • Optionalproperties: P
    • Optionaloptions: DefinePropertyOptions
      • Optionalconfigurable?: boolean
      • Optionalenumerable?: boolean
      • Optionalwritable?: boolean

    Returns T | any | P & T

    target