diff --git a/packages/core/src/authoring/queries.ts b/packages/core/src/authoring/queries.ts index 6e0b3d3c412ed..66e050ddf38fd 100644 --- a/packages/core/src/authoring/queries.ts +++ b/packages/core/src/authoring/queries.ts @@ -76,6 +76,7 @@ export interface ViewChildFunction { * ``` * * @developerPreview + * @initializerApiFunction */ export const viewChild: ViewChildFunction = (() => { // Note: This may be considered a side-effect, but nothing will depend on @@ -107,6 +108,9 @@ export function viewChildren( * divEls = viewChildren('el'); // Signal> * } * ``` + * + * @initializerApiFunction + * @developerPreview */ export function viewChildren( locator: ProviderToken|string, @@ -155,8 +159,6 @@ export interface ContentChildFunction { /** * Initializes a content child query that is always expected to match. - * - * @developerPreview */ required: { (locator: ProviderToken|string, opts?: { @@ -187,6 +189,9 @@ export interface ContentChildFunction { * headerRequired = contentChild.required(MyHeader); // Signal * } * ``` + * + * @initializerApiFunction + * @developerPreview */ export const contentChild: ContentChildFunction = (() => { // Note: This may be considered a side-effect, but nothing will depend on @@ -220,6 +225,9 @@ export function contentChildren( * headerEl = contentChildren('h'); // Signal> * } * ``` + * + * @initializerApiFunction + * @developerPreview */ export function contentChildren( locator: ProviderToken|string,