chore(core): update public api file

This commit is contained in:
vsavkin 2016-09-14 11:51:26 -07:00 committed by Igor Minar
parent 096ae7c404
commit 15c2912527
1 changed files with 41 additions and 0 deletions

View File

@ -264,9 +264,31 @@ export declare abstract class ComponentRef<C> {
/** @stable */ /** @stable */
export declare const ContentChild: ContentChildDecorator; export declare const ContentChild: ContentChildDecorator;
/** @stable */
export interface ContentChildDecorator {
(selector: Type<any> | Function | string, {read}?: {
read?: any;
}): any;
new (selector: Type<any> | Function | string, {read}?: {
read?: any;
}): ContentChild;
}
/** @stable */ /** @stable */
export declare const ContentChildren: ContentChildrenDecorator; export declare const ContentChildren: ContentChildrenDecorator;
/** @stable */
export interface ContentChildrenDecorator {
/** @stable */ (selector: Type<any> | Function | string, {descendants, read}?: {
descendants?: boolean;
read?: any;
}): any;
new (selector: Type<any> | Function | string, {descendants, read}?: {
descendants?: boolean;
read?: any;
}): Query;
}
/** @experimental */ /** @experimental */
export declare function createPlatform(injector: Injector): PlatformRef; export declare function createPlatform(injector: Injector): PlatformRef;
@ -906,9 +928,28 @@ export interface ValueProvider {
/** @stable */ /** @stable */
export declare const ViewChild: ViewChildDecorator; export declare const ViewChild: ViewChildDecorator;
/** @stable */
export interface ViewChildDecorator {
/** @stable */ (selector: Type<any> | Function | string, {read}?: {
read?: any;
}): any;
new (selector: Type<any> | Function | string, {read}?: {
read?: any;
}): ViewChild;
}
/** @stable */ /** @stable */
export declare const ViewChildren: ViewChildrenDecorator; export declare const ViewChildren: ViewChildrenDecorator;
/** @stable */
export interface ViewChildrenDecorator { (selector: Type<any> | Function | string, {read}?: {
read?: any;
}): any;
new (selector: Type<any> | Function | string, {read}?: {
read?: any;
}): ViewChildren;
}
/** @stable */ /** @stable */
export declare abstract class ViewContainerRef { export declare abstract class ViewContainerRef {
element: ElementRef; element: ElementRef;