method ObjectConstructor.defineProperties
Private
ObjectConstructor.defineProperties<T>(
o: T,
properties: PropertyDescriptorMap & ThisType<any>,
): T

Adds one or more properties to an object, and/or modifies attributes of existing properties.

Type Parameters

Parameters

o: T

Object on which to add or modify the properties. This can be a native JavaScript object or a DOM object.

JavaScript object that contains one or more descriptor objects. Each descriptor object describes a data property or an accessor property.

Return Type