diff --git a/packages/common/src/directives/ng_template_outlet.ts b/packages/common/src/directives/ng_template_outlet.ts index 5912f9caa7..860d8dce04 100644 --- a/packages/common/src/directives/ng_template_outlet.ts +++ b/packages/common/src/directives/ng_template_outlet.ts @@ -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); diff --git a/tools/public_api_guard/common/common.d.ts b/tools/public_api_guard/common/common.d.ts index cdefdf3d96..1c206638fc 100644 --- a/tools/public_api_guard/common/common.d.ts +++ b/tools/public_api_guard/common/common.d.ts @@ -246,7 +246,6 @@ export declare class NgSwitchDefault { /** @stable */ export declare class NgTemplateOutlet implements OnChanges { - /** @deprecated */ ngOutletContext: Object; ngTemplateOutlet: TemplateRef; ngTemplateOutletContext: Object; constructor(_viewContainerRef: ViewContainerRef);