Skip to content

Add rule to enforce the correct type of View/ContenChild(ren) #4

@ajafff

Description

@ajafff
  • ViewChildren, ContentChildren: QueryList<T>, where the type of the child (determined either by the identifier or read-Property) must be assignable to T
  • ViewChild, ContentChild: the type of the child (determined either by the identifier or read-Property) must be assignable to the annotated type

This requires type relationship APIs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions