feat(ivy): add generics to the SelectorMatcher API (#26203)
feat(ivy): add generics to the SelectorMatcher API (#26203)

This commit adds a generic type parameter to the SelectorMatcher
class and its associated response types. This makes the API for
matching selectors and obtaining information about the matched
directives significantly more ergonomic and type-safe.

PR Close #26203

vikerman/angular,brandonroberts/angular,ultrasonicsoft/angular,IdeaBlade/angular,petebacondarwin/angular,Toxicable/angular,wKoza/angular,snaptech/angular,jasonaden/angular,Toxicable/angular,gnomeontherun/angular,mgechev/angular,Toxicable/angular,mgechev/angular,trshafer/angular,hansl/angular,brandonroberts/angular,alxhub/angular,angular/angular,mprobst/angular,mprobst/angular,vikerman/angular,angular-indonesia/angular,gdi2290/angular,mhevery/angular,ValtoFrameworks/Angular-2,jasonaden/angular,angular/angular,sarunint/angular,gkalpak/angular,hansl/angular,kegluneq/angular,alexeagle/angular,gdi2290/angular,blesh/angular,vikerman/angular,ValtoFrameworks/Angular-2,mhevery/angular,mhevery/angular,blesh/angular,kegluneq/angular,Toxicable/angular,JiaLiPassion/angular,ultrasonicsoft/angular,shairez/angular,mlaval/angular,ValtoFrameworks/Angular-2,petebacondarwin/angular,filipesilva/angular,hansl/angular,manekinekko/angular,sarunint/angular,mlaval/angular,kegluneq/angular,kegluneq/angular,StephenFluin/angular,Toxicable/angular,brandonroberts/angular,trshafer/angular,ocombe/angular,JiaLiPassion/angular,IdeaBlade/angular,mhevery/angular,matsko/angular,IdeaBlade/angular,blesh/angular,JiaLiPassion/angular,gkalpak/angular,Brocco/angular,mprobst/angular,IgorMinar/angular,vikerman/angular,gdi2290/angular,matsko/angular,trshafer/angular,petebacondarwin/angular,sarunint/angular,wKoza/angular,blesh/angular,mprobst/angular,sarunint/angular,sarunint/angular,ocombe/angular,snaptech/angular,juristr/angular,sarunint/angular,IgorMinar/angular,brandonroberts/angular,alexeagle/angular,snaptech/angular,ValtoFrameworks/Angular-2,matsko/angular,trshafer/angular,alxhub/angular,Brocco/angular,StephenFluin/angular,juristr/angular,StephenFluin/angular,petebacondarwin/angular,alexeagle/angular,snaptech/angular,manekinekko/angular,jasonaden/angular,shairez/angular,alxhub/angular,manekinekko/angular,Brocco/angular,gdi2290/angular,wKoza/angular,Toxicable/angular,IgorMinar/angular,vikerman/angular,gdi2290/angular,StephenFluin/angular,brandonroberts/angular,jasonaden/angular,gnomeontherun/angular,filipesilva/angular,Brocco/angular,gnomeontherun/angular,alexeagle/angular,IgorMinar/angular,manekinekko/angular,hansl/angular,kegluneq/angular,juristr/angular,mprobst/angular,wKoza/angular,ValtoFrameworks/Angular-2,gdi2290/angular,angular/angular,mlaval/angular,ultrasonicsoft/angular,alexeagle/angular,alxhub/angular,angular-indonesia/angular,manekinekko/angular,kegluneq/angular,mhevery/angular,matsko/angular,matsko/angular,juristr/angular,wKoza/angular,gkalpak/angular,JiaLiPassion/angular,gkalpak/angular,mprobst/angular,Brocco/angular,mgechev/angular,mhevery/angular,ocombe/angular,gnomeontherun/angular,brandonroberts/angular,angular-indonesia/angular,IdeaBlade/angular,alxhub/angular,mlaval/angular,IgorMinar/angular,IdeaBlade/angular,mlaval/angular,ultrasonicsoft/angular,snaptech/angular,ocombe/angular,trshafer/angular,shairez/angular,manekinekko/angular,filipesilva/angular,shairez/angular,alexeagle/angular,ocombe/angular,hansl/angular,ocombe/angular,ultrasonicsoft/angular,snaptech/angular,jasonaden/angular,IgorMinar/angular,StephenFluin/angular,vikerman/angular,wKoza/angular,jasonaden/angular,hansl/angular,filipesilva/angular,trshafer/angular,blesh/angular,shairez/angular,filipesilva/angular,petebacondarwin/angular,ultrasonicsoft/angular,mgechev/angular,juristr/angular,angular/angular,juristr/angular,petebacondarwin/angular,mgechev/angular,angular-indonesia/angular,Brocco/angular