Skip to content

Commit ddda355

Browse files
crisbetoalxhub
authored andcommitted
refactor(core): remove globalApi tag (#58375)
`@globalApi` was an AIO implementation detail that isn't relevant anymore. PR Close #58375
1 parent 3b989ac commit ddda355

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

packages/core/src/render3/util/change_detection_utils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import {getRootComponents} from './discovery_utils';
2222
* @param component Component to {@link ChangeDetectorRef#markForCheck mark for check}.
2323
*
2424
* @publicApi
25-
* @globalApi ng
2625
*/
2726
export function applyChanges(component: {}): void {
2827
ngDevMode && assertDefined(component, 'component');

packages/core/src/render3/util/discovery_utils.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ import {getLViewParent, unwrapRNode} from './view_utils';
5151
* is no component associated with it.
5252
*
5353
* @publicApi
54-
* @globalApi ng
5554
*/
5655
export function getComponent<T>(element: Element): T | null {
5756
ngDevMode && assertDomElement(element);
@@ -79,7 +78,6 @@ export function getComponent<T>(element: Element): T | null {
7978
* inside any component.
8079
*
8180
* @publicApi
82-
* @globalApi ng
8381
*/
8482
export function getContext<T extends {}>(element: Element): T | null {
8583
assertDomElement(element);
@@ -101,7 +99,6 @@ export function getContext<T extends {}>(element: Element): T | null {
10199
* part of a component view.
102100
*
103101
* @publicApi
104-
* @globalApi ng
105102
*/
106103
export function getOwningComponent<T>(elementOrDir: Element | {}): T | null {
107104
const context = getLContext(elementOrDir)!;
@@ -124,7 +121,6 @@ export function getOwningComponent<T>(elementOrDir: Element | {}): T | null {
124121
* @returns Root components associated with the target object.
125122
*
126123
* @publicApi
127-
* @globalApi ng
128124
*/
129125
export function getRootComponents(elementOrDir: Element | {}): {}[] {
130126
const lView = readPatchedLView<{}>(elementOrDir);
@@ -139,7 +135,6 @@ export function getRootComponents(elementOrDir: Element | {}): {}[] {
139135
* @returns Injector associated with the element, component or directive instance.
140136
*
141137
* @publicApi
142-
* @globalApi ng
143138
*/
144139
export function getInjector(elementOrDir: Element | {}): Injector {
145140
const context = getLContext(elementOrDir)!;
@@ -201,7 +196,6 @@ export function getInjectionTokens(element: Element): any[] {
201196
* @returns Array of directives associated with the node.
202197
*
203198
* @publicApi
204-
* @globalApi ng
205199
*/
206200
export function getDirectives(node: Node): {}[] {
207201
// Skip text nodes because we can't have directives associated with them.
@@ -266,7 +260,6 @@ export interface ComponentDebugMetadata extends DirectiveDebugMetadata {
266260
* @returns metadata of the passed directive or component
267261
*
268262
* @publicApi
269-
* @globalApi ng
270263
*/
271264
export function getDirectiveMetadata(
272265
directiveOrComponentInstance: any,
@@ -329,7 +322,6 @@ export function getLocalRefs(target: {}): {[key: string]: any} {
329322
* @returns Host element of the target.
330323
*
331324
* @publicApi
332-
* @globalApi ng
333325
*/
334326
export function getHostElement(componentOrDirective: {}): Element {
335327
return getLContext(componentOrDirective)!.native as unknown as Element;
@@ -398,7 +390,6 @@ export interface Listener {
398390
* @returns Array of event listeners on the DOM element.
399391
*
400392
* @publicApi
401-
* @globalApi ng
402393
*/
403394
export function getListeners(element: Element): Listener[] {
404395
ngDevMode && assertDomElement(element);

packages/localize/src/localize/src/localize.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ export interface TranslateFn {
141141
* @param expressions a collection of the values of each placeholder in the template string.
142142
* @returns the translated string, with the `messageParts` and `expressions` interleaved together.
143143
*
144-
* @globalApi
145144
* @publicApi
146145
*/
147146
export const $localize: LocalizeFn = function (

0 commit comments

Comments
 (0)