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:
Olivier Combe 2017-08-18 16:26:29 +02:00 committed by Miško Hevery
parent ff6a20d138
commit 7522987a51
2 changed files with 0 additions and 7 deletions

View File

@ -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);

View File

@ -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);