Skip to content
Permalink
Browse files

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
  • Loading branch information...
ocombe authored and mhevery committed Aug 18, 2017
1 parent ff6a20d commit 7522987a511c13fb7265dce909b392a2040ec0fc
@@ -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);

0 comments on commit 7522987

Please sign in to comment.
You can’t perform that action at this time.