Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate getters and setters pairs #109

Open
StoryDevOffical opened this issue Jul 31, 2023 · 0 comments
Open

generate getters and setters pairs #109

StoryDevOffical opened this issue Jul 31, 2023 · 0 comments

Comments

@StoryDevOffical
Copy link

Hello,

i would to generate getters and setters by pairs.

I mean not this

public get firstName(): string {
   return this._firstName;
}
public get lastName(): string {
   return this._lastName;
}
public set firstName(value: string) {
   this._firstName = value;
}
public set lastName(value: string) {
   this._lastName = value;
}

but this

public get firstName(): string {
   return this._firstName;
}
public set firstName(value: string) {
   this._firstName = value;
}
public get lastName(): string {
   return this._lastName;
}
public set lastName(value: string) {
   this._lastName = value;
}

I can't find any parameters to custom this behaviour.
Is it possible ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant