This commit is contained in:
Snowflake107 2021-05-13 14:00:58 +05:45
parent f4f9136956
commit 9e2203ca8c

View file

@ -206,10 +206,11 @@ export class Util {
}
/**
*
* @param target
* @param prop
* @param value
* Defines a property in the given object
* @param {any} target The target
* @param {any} prop The property to define
* @param {any} value The value
* @returns {void}
*/
static define(ops: { target: any; prop: any; value: any; enumerate?: boolean }) {
Object.defineProperty(ops.target, ops.prop, {