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
Consider this code:
export abstract class MyAbstractComponent { public something: any; } @Component({ template: `{{ something }}`, }) export class MyRealComponent extends MyAbstractComponent { }
If you run tslint with "templates-use-public" rule enabled, you'll get an error:
tslint
"templates-use-public"
The property "something" that you're trying to access does not exist in the class declaration.
which is kinda true, but this is still a false positive.
The text was updated successfully, but these errors were encountered:
Related to #191
Sorry, something went wrong.
@ghsyeung I would even say that it's a duplicate. Closing the issue
No branches or pull requests
Consider this code:
If you run
tslint
with"templates-use-public"
rule enabled, you'll get an error:which is kinda true, but this is still a false positive.
The text was updated successfully, but these errors were encountered: