3

ProductListComponent を拡張しようとしているので、以下を作成しました。

export class CustomProductListComponent extends ProductListComponent {

  constructor(
    pageLayoutService: PageLayoutService,
    productListComponentService: ProductListComponentService
  ) {
    super(pageLayoutService, productListComponentService);
  }
}

しかし、ProductListComponentService は表示されないため、これを使用して ProductListComponentService を拡張することにしました。

@Injectable({providedIn: 'root'})
export class CustomProductListComponentService extends ɵe {
  constructor(
    protected productSearchService: ProductSearchService,
    protected routing: RoutingService,
    protected activatedRoute: ActivatedRoute,
    protected currencyService: CurrencyService,
    protected languageService: LanguageService,
    protected router: Router
  ) {
    super(productSearchService, routing, activatedRoute, currencyService, languageService, router);
  }
}

しかし、拡張部分には、この奇妙な文字列 'ɵe' があります。ProductListComponent を拡張するための推奨される方法は何ですか? なぜこの文字列「ɵe」があるのですか?

4

1 に答える 1