我们正在尝试扩展 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' 在那里?