From 0a73e8d062c3f20854e38d516a16e564ac5ff556 Mon Sep 17 00:00:00 2001 From: Pawel Kozlowski Date: Wed, 9 Aug 2017 14:29:17 +0200 Subject: [PATCH] feat(common): mark NgTemplateOutlet API as stable --- packages/common/src/directives/ng_template_outlet.ts | 4 ++-- tools/public_api_guard/common/common.d.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/common/src/directives/ng_template_outlet.ts b/packages/common/src/directives/ng_template_outlet.ts index 800eed23ec..5912f9caa7 100644 --- a/packages/common/src/directives/ng_template_outlet.ts +++ b/packages/common/src/directives/ng_template_outlet.ts @@ -30,7 +30,7 @@ import {Directive, EmbeddedViewRef, Input, OnChanges, SimpleChange, SimpleChange * * {@example common/ngTemplateOutlet/ts/module.ts region='NgTemplateOutlet'} * - * @experimental + * @stable */ @Directive({selector: '[ngTemplateOutlet]'}) export class NgTemplateOutlet implements OnChanges { @@ -72,7 +72,7 @@ export class NgTemplateOutlet implements OnChanges { * - templateRef has changed * - context has changes * - * To mark context object as changed when the corresponding object + * We mark context object as changed when the corresponding object * shape changes (new properties are added or existing properties are removed). * In other words we consider context with the same properties as "the same" even * if object reference changes (see https://github.com/angular/angular/issues/13407). diff --git a/tools/public_api_guard/common/common.d.ts b/tools/public_api_guard/common/common.d.ts index 3160d61883..6ea2ce823c 100644 --- a/tools/public_api_guard/common/common.d.ts +++ b/tools/public_api_guard/common/common.d.ts @@ -240,7 +240,7 @@ export declare class NgSwitchDefault { constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef, ngSwitch: NgSwitch); } -/** @experimental */ +/** @stable */ export declare class NgTemplateOutlet implements OnChanges { /** @deprecated */ ngOutletContext: Object; ngTemplateOutlet: TemplateRef;