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

private lambda assigned properties #108

Open
brandonseydel opened this issue Jan 30, 2019 · 3 comments
Open

private lambda assigned properties #108

brandonseydel opened this issue Jan 30, 2019 · 3 comments

Comments

@brandonseydel
Copy link

Is there currently a way to specify the naming convention of a instance property that is assigned a function?

example

class Blah {
// need underscore
    private _testVat = 0;
// don't want underscore
    private test = (): void => { };
}
@brandonseydel
Copy link
Author

brandonseydel commented Feb 19, 2019

Any news on this?

@ajafff
Copy link
Owner

ajafff commented Feb 19, 2019

Sorry for not answering for so long. This one totally slipped through.

It's currently not possible to configure the requested behavior. Something similar exists for variables that are assigned a function. That option is called functionVariable. However, no such thing exists for properties, yet.

@brandonseydel
Copy link
Author

I may put a PR for this since.

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

2 participants