Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions