You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like a refactoring that converts the get accessor to a function. It should also convert the usages of the getter to proper function calls. After the refactoring:
I suppose it could also work with set accessors, although I suppose that would be harder to do:
classA{setsomeStuff(a){this.stuff=a;}}leta=newA();a.stuff="hello"// after refactoring:classA{setSomeStuff(a){this.stuff=a;}}leta=newA();a.setSomeStuff("hello")
The text was updated successfully, but these errors were encountered:
Is this request related to a problem? Please describe.
I'm currently refactoring a class that exposes data via a getter:
Describe the solution you'd like
I'd like a refactoring that converts the
get
accessor to a function. It should also convert the usages of the getter to proper function calls. After the refactoring:I suppose it could also work with
set
accessors, although I suppose that would be harder to do:The text was updated successfully, but these errors were encountered: