diff --git a/lib/mixins/property-accessors.html b/lib/mixins/property-accessors.html index 030f32ec67..9a8a7e3723 100644 --- a/lib/mixins/property-accessors.html +++ b/lib/mixins/property-accessors.html @@ -393,8 +393,16 @@ this.__dataHasAccessor[property] = true; saveAccessorValue(this, property); Object.defineProperty(this, property, { - get: () => this.__data[property], - set: readOnly ? function(){} : (value) => {this._setProperty(property, value)} + /* eslint-disable valid-jsdoc */ + /** @this {PropertyAccessors} */ + get: function() { + return this.__data[property]; + }, + /** @this {PropertyAccessors} */ + set: readOnly ? function() {} : function(value) { + this._setProperty(property, value); + } + /* eslint-enable */ }); } }