Skip to content

TsLint= >Implement lifecycle hook interface OnInit for method ngOnInit  #4060

@fkolar

Description

@fkolar

Running

angular-cli: 1.0.0-beta.24
node: 4.6.0
os: darwin x64

Description

Tried to utilize latest Angular's addition for the inheritance
Angular Commit

where lifecycle hook interface is implemented on the parent level and Child component just override the method and it seems tslint is not uptodate with this .

"use-life-cycle-interface": true,

It should probably check all the way up to the parent if the interface is implemented.

Thank you,

Frank

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions