fix docs
This commit is contained in:
parent
f4f9136956
commit
9e2203ca8c
1 changed files with 5 additions and 4 deletions
|
@ -206,10 +206,11 @@ export class Util {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
* Defines a property in the given object
|
||||||
* @param target
|
* @param {any} target The target
|
||||||
* @param prop
|
* @param {any} prop The property to define
|
||||||
* @param value
|
* @param {any} value The value
|
||||||
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
static define(ops: { target: any; prop: any; value: any; enumerate?: boolean }) {
|
static define(ops: { target: any; prop: any; value: any; enumerate?: boolean }) {
|
||||||
Object.defineProperty(ops.target, ops.prop, {
|
Object.defineProperty(ops.target, ops.prop, {
|
||||||
|
|
Loading…
Reference in a new issue