Remove component resolver (#10858)
* refactor(core): remove deprecated ComponentResolver BREAKING CHANGE: deprecated ComponentResolver was removed Please follow deprecation instruction and migrate your code to use ComponentFactoryResolver. * refactor(common): remove deprecated NgSwitchWhen directive BREAKING CHANGE: previously deprecated NgSwitchWhen directive was removed, use NgSwitchCase instead
This commit is contained in:
1
tools/public_api_guard/common/index.d.ts
vendored
1
tools/public_api_guard/common/index.d.ts
vendored
@ -164,7 +164,6 @@ export declare class NgSwitch {
|
||||
/** @experimental */
|
||||
export declare class NgSwitchCase {
|
||||
ngSwitchCase: any;
|
||||
ngSwitchWhen: any;
|
||||
constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<Object>, ngSwitch: NgSwitch);
|
||||
}
|
||||
|
||||
|
8
tools/public_api_guard/core/index.d.ts
vendored
8
tools/public_api_guard/core/index.d.ts
vendored
@ -329,14 +329,6 @@ export declare abstract class ComponentRef<C> {
|
||||
abstract onDestroy(callback: Function): void;
|
||||
}
|
||||
|
||||
/** @deprecated */
|
||||
export declare abstract class ComponentResolver {
|
||||
abstract clearCache(): void;
|
||||
abstract resolveComponent(component: Type<any> | string): Promise<ComponentFactory<any>>;
|
||||
static DynamicCompilationDeprecationMsg: string;
|
||||
static LazyLoadingDeprecationMsg: string;
|
||||
}
|
||||
|
||||
/** @stable */
|
||||
export declare class ComponentStillLoadingError extends BaseException {
|
||||
compType: Type<any>;
|
||||
|
Reference in New Issue
Block a user