We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the feature
class WhatEver { private someThingUsedInternalOnlyButVeryLongLikeObjectiveCStyle = 0 public thePublicMethodShouldNotBeMangled() { this.privateClassMethodNameShouldAlsoBeMangled() return this.someThingUsedInternalOnlyButVeryLongLikeObjectiveCStyle } private privateClassMethodNameShouldAlsoBeMangled() { this.someThingUsedInternalOnlyButVeryLongLikeObjectiveCStyle += 1 } }
↓ ↓ ↓ ↓ ↓ ↓
class A { private a = 0 thePublicMethodShouldNotBeMangled() { this.b() return this.a } b() { this.a += 1 } }
This should be an optional rule, it's very dangerous, but very useful.
The text was updated successfully, but these errors were encountered:
I agree that this would be useful. Marking private methods using special Mark within typescript pass and using the info from the minifier will work.
Mark
The logic for private properties (from ecmascript spec) can be applied to such nodes.
Sorry, something went wrong.
Related TypeScript proposals:
And implementations:
No branches or pull requests
Describe the feature
↓ ↓ ↓ ↓ ↓ ↓
This should be an optional rule, it's very dangerous, but very useful.
The text was updated successfully, but these errors were encountered: