From 727c2b38a4355e3ecb708487aa377ed54e4e8375 Mon Sep 17 00:00:00 2001 From: vsavkin Date: Wed, 14 Sep 2016 11:51:26 -0700 Subject: [PATCH] chore(core): update public api file --- tools/public_api_guard/core/index.d.ts | 41 ++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/tools/public_api_guard/core/index.d.ts b/tools/public_api_guard/core/index.d.ts index c3713568ec..5f4f7bea9e 100644 --- a/tools/public_api_guard/core/index.d.ts +++ b/tools/public_api_guard/core/index.d.ts @@ -264,9 +264,31 @@ export declare abstract class ComponentRef { /** @stable */ export declare const ContentChild: ContentChildDecorator; +/** @stable */ +export interface ContentChildDecorator { + (selector: Type | Function | string, {read}?: { + read?: any; + }): any; + new (selector: Type | Function | string, {read}?: { + read?: any; + }): ContentChild; +} + /** @stable */ export declare const ContentChildren: ContentChildrenDecorator; +/** @stable */ +export interface ContentChildrenDecorator { + /** @stable */ (selector: Type | Function | string, {descendants, read}?: { + descendants?: boolean; + read?: any; + }): any; + new (selector: Type | Function | string, {descendants, read}?: { + descendants?: boolean; + read?: any; + }): Query; +} + /** @experimental */ export declare function createPlatform(injector: Injector): PlatformRef; @@ -906,9 +928,28 @@ export interface ValueProvider { /** @stable */ export declare const ViewChild: ViewChildDecorator; +/** @stable */ +export interface ViewChildDecorator { + /** @stable */ (selector: Type | Function | string, {read}?: { + read?: any; + }): any; + new (selector: Type | Function | string, {read}?: { + read?: any; + }): ViewChild; +} + /** @stable */ export declare const ViewChildren: ViewChildrenDecorator; +/** @stable */ +export interface ViewChildrenDecorator { (selector: Type | Function | string, {read}?: { + read?: any; + }): any; + new (selector: Type | Function | string, {read}?: { + read?: any; + }): ViewChildren; +} + /** @stable */ export declare abstract class ViewContainerRef { element: ElementRef;