docs(Core): fix API docs for ContentChild and ViewChildren (#13656)

Move the documentations of the ContentChild and ViewChildren decorators
so that they appear correctly on angular.io.

Closes #13625
This commit is contained in:
Tsuyoshi Ito
2016-12-28 09:58:33 +09:00
committed by Igor Minar
parent 1cd73c7a79
commit ec0ca01224
2 changed files with 61 additions and 53 deletions

View File

@ -278,7 +278,7 @@ export declare const ContentChild: ContentChildDecorator;
/** @stable */
export interface ContentChildDecorator {
(selector: Type<any> | Function | string, {read}?: {
/** @stable */ (selector: Type<any> | Function | string, {read}?: {
read?: any;
}): any;
new (selector: Type<any> | Function | string, {read}?: {
@ -979,7 +979,8 @@ export interface ViewChildDecorator {
export declare const ViewChildren: ViewChildrenDecorator;
/** @stable */
export interface ViewChildrenDecorator { (selector: Type<any> | Function | string, {read}?: {
export interface ViewChildrenDecorator {
/** @stable */ (selector: Type<any> | Function | string, {read}?: {
read?: any;
}): any;
new (selector: Type<any> | Function | string, {read}?: {