@@ -17,10 +17,7 @@ import {Injector} from '../di/injector';
1717import { EnvironmentInjector } from '../di/r3_injector' ;
1818import { RuntimeError , RuntimeErrorCode } from '../errors' ;
1919import { Type } from '../interface/type' ;
20- import {
21- ComponentFactory as AbstractComponentFactory ,
22- ComponentRef as AbstractComponentRef ,
23- } from '../linker/component_factory' ;
20+ import { ComponentRef as AbstractComponentRef } from '../linker/component_factory' ;
2421import { createElementRef , ElementRef } from '../linker/element_ref' ;
2522import { NgModuleRef } from '../linker/ng_module_factory' ;
2623import { RendererFactory2 } from '../render/api' ;
@@ -199,10 +196,10 @@ export function inferTagNameFromDefinition(componentDef: ComponentDef<unknown>):
199196/**
200197 * ComponentFactory interface implementation.
201198 */
202- export class ComponentFactory < T > extends AbstractComponentFactory < T > {
203- override selector : string ;
204- override componentType : Type < any > ;
205- override ngContentSelectors : string [ ] ;
199+ export class ComponentFactory < T > {
200+ selector : string ;
201+ componentType : Type < any > ;
202+ ngContentSelectors : string [ ] ;
206203 isBoundToModule : boolean ;
207204 private cachedInputs :
208205 | {
@@ -214,7 +211,7 @@ export class ComponentFactory<T> extends AbstractComponentFactory<T> {
214211 | null = null ;
215212 private cachedOutputs : { propName : string ; templateName : string } [ ] | null = null ;
216213
217- override get inputs ( ) : {
214+ get inputs ( ) : {
218215 propName : string ;
219216 templateName : string ;
220217 isSignal : boolean ;
@@ -224,7 +221,7 @@ export class ComponentFactory<T> extends AbstractComponentFactory<T> {
224221 return this . cachedInputs ;
225222 }
226223
227- override get outputs ( ) : { propName : string ; templateName : string } [ ] {
224+ get outputs ( ) : { propName : string ; templateName : string } [ ] {
228225 this . cachedOutputs ??= toOutputRefArray ( this . componentDef . outputs ) ;
229226 return this . cachedOutputs ;
230227 }
@@ -237,14 +234,13 @@ export class ComponentFactory<T> extends AbstractComponentFactory<T> {
237234 private componentDef : ComponentDef < any > ,
238235 private ngModule ?: NgModuleRef < any > ,
239236 ) {
240- super ( ) ;
241237 this . componentType = componentDef . type ;
242238 this . selector = stringifyCSSSelectorList ( componentDef . selectors ) ;
243239 this . ngContentSelectors = componentDef . ngContentSelectors ?? [ ] ;
244240 this . isBoundToModule = ! ! ngModule ;
245241 }
246242
247- override create (
243+ create (
248244 injector : Injector ,
249245 projectableNodes ?: any [ ] [ ] | undefined ,
250246 rootSelectorOrNode ?: any ,
0 commit comments