File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
goldens/public-api/common
packages/common/src/directives Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -503,7 +503,7 @@ export class NgClass implements DoCheck {
503503export class NgComponentOutlet <T = any > implements OnChanges , DoCheck , OnDestroy {
504504 constructor (_viewContainerRef : ViewContainerRef );
505505 get componentInstance(): T | null ;
506- ngComponentOutlet: Type <any > | null ;
506+ ngComponentOutlet: Type <T > | null ;
507507 // (undocumented)
508508 ngComponentOutletContent? : Node [][];
509509 // (undocumented)
Original file line number Diff line number Diff line change @@ -100,10 +100,8 @@ import {
100100 exportAs : 'ngComponentOutlet' ,
101101} )
102102export class NgComponentOutlet < T = any > implements OnChanges , DoCheck , OnDestroy {
103- // TODO(crisbeto): this should be `Type<T>`, but doing so broke a few
104- // targets in a TGP so we need to do it in a major version.
105103 /** Component that should be rendered in the outlet. */
106- @Input ( ) ngComponentOutlet : Type < any > | null = null ;
104+ @Input ( ) ngComponentOutlet : Type < T > | null = null ;
107105
108106 @Input ( ) ngComponentOutletInputs ?: Record < string , unknown > ;
109107 @Input ( ) ngComponentOutletInjector ?: Injector ;
You can’t perform that action at this time.
0 commit comments