Closed
Description
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:
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.
Metadata
Metadata
Assignees
Labels
No labels