While working with WebStorm 2019.3.2, I have noticed some warnings in Angular templates:
This is happening because the properties are being initialized on the parent component instead of the child.
@Component({
selector: 'app-dictionary-dropdown',
templateUrl: './dictionary-dropdown.component.html',
...
})
export class DictionaryDropdownComponent extends Dropdown implements OnInit, OnDestroy {
...
I attempted to add
implements <name of parent component>
to the child class, but it did not resolve the issue.
Is there a solution to remove these WebStorm warnings?