refactor(common): remove deprecated `NgTemplateOutlet#ngOutletContext` (#18780)
BREAKING CHANGE: `NgTemplateOutlet#ngOutletContext` has been removed as it was deprecated since v4. Use `NgTemplateOutlet#ngTemplateOutletContext` instead. PR Close #18780
This commit is contained in:
parent
ff6a20d138
commit
7522987a51
|
@ -42,12 +42,6 @@ export class NgTemplateOutlet implements OnChanges {
|
|||
|
||||
constructor(private _viewContainerRef: ViewContainerRef) {}
|
||||
|
||||
/**
|
||||
* @deprecated v4.0.0 - Renamed to ngTemplateOutletContext.
|
||||
*/
|
||||
@Input()
|
||||
set ngOutletContext(context: Object) { this.ngTemplateOutletContext = context; }
|
||||
|
||||
ngOnChanges(changes: SimpleChanges) {
|
||||
const recreateView = this._shouldRecreateView(changes);
|
||||
|
||||
|
|
|
@ -246,7 +246,6 @@ export declare class NgSwitchDefault {
|
|||
|
||||
/** @stable */
|
||||
export declare class NgTemplateOutlet implements OnChanges {
|
||||
/** @deprecated */ ngOutletContext: Object;
|
||||
ngTemplateOutlet: TemplateRef<any>;
|
||||
ngTemplateOutletContext: Object;
|
||||
constructor(_viewContainerRef: ViewContainerRef);
|
||||
|
|
Loading…
Reference in New Issue