class Test {
_abc = 123;
/**
* Only description for getter.
*/
get abc() {
return this._abc;
}
/**
* Only description for setter.
*/
set abc(val) {
this._abc = val;
}
}
const test = new Test();
console.log(test.abc);
test.abc = 1;
console.log(test.abc);
Warning:
This should never happen, please check your input code.
Not a big issue, just a case that I didn't see during last refactor... gotta update a bit.
Example:
Warning:
Not a big issue, just a case that I didn't see during last refactor... gotta update a bit.