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:
5
tools/public_api_guard/core/index.d.ts
vendored
5
tools/public_api_guard/core/index.d.ts
vendored
@ -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}?: {
|
||||
|
Reference in New Issue
Block a user