angular/aio/tools/transforms/angular-api-package
George Kalpakas 14f505abd4 fix(docs-infra): prevent unnecessary warning in mergeOverridenImplementation Dgeni processor (#47201)
The `mergeOverridenImplementation` processor tries to ensure that any
doc used with the `@overrideImplementation` annotation is not itself
public (and explicitly marks is as internal if it is).

Previously, it determined the public/private status of a doc by only
checking the value of the doc's `internal` property (which is mainly set
via the `@internal` annotation). This failed to account for docs marked
as "private exports" (such as those prefixed with `ɵ`), which are
essentially also treated as internal.

This would result in incorrect warnings. [Example warning][1]:

> Constructor doc forms/ɵFormControlCtor was not marked '@internal';
> adding this annotation.

This commit prevents the incorrect warning by also checking the value of
the doc's `privateExport` property to determine its public/private
status.

[1]: https://circleci.com/gh/angular/angular/1215057#step-104-164

PR Close #47201
2022-08-22 10:51:02 -07:00
..
content-rules build(aio): create minLength content rule (#22759) 2018-04-12 00:06:49 -07:00
mocks refactor(docs-infra): migrate aio from tslint to eslint (#42820) 2021-07-20 11:55:28 -07:00
processors fix(docs-infra): prevent unnecessary warning in mergeOverridenImplementation Dgeni processor (#47201) 2022-08-22 10:51:02 -07:00
readers feat(docs-infra): add support for "special elements" (#41299) 2021-06-16 14:01:16 -07:00
tag-defs feat(docs-infra): add @developerPreview tag for APIs in developer preview (#46050) 2022-06-01 16:01:59 -07:00
index.js feat(docs-infra): Add a new processor for @overriddenImplementation. (#44689) 2022-01-13 12:02:22 -08:00