Repository navigation
API doc cleanup for decorators - #31377
jbogarthyde wants to merge 2 commits into
Conversation
|
You can preview 4fb4ff3 at https://pr31377-4fb4ff3.ngbuilds.io/. |
|
You can preview f2ed881 at https://pr31377-f2ed881.ngbuilds.io/. |
|
You can preview 971dc01 at https://pr31377-971dc01.ngbuilds.io/. |
|
You can preview f76f08b at https://pr31377-f76f08b.ngbuilds.io/. |
IgorMinar
left a comment
There was a problem hiding this comment.
great improvements! thank you
I left a few comments / suggestions.
There was a problem hiding this comment.
does this region actually exist? I don't see it defined in the provider_spec.ts file.
I just noticed that ConstructorProvider is not exported from @angular/core at all (this makes it inaccessible to developers for direct interaction but allows type inference and typechecking to work just fine - meaning that developers would usually not complain about the lack of exporting but the docs for this symbol are missing on angular.io)
can you please fix this my exporting the symbol from packages/core/src/di/index.t and update tools/public_api_guard/core/core.d.ts to reflect the adition?
There was a problem hiding this comment.
I can update the index, but I don't have access to the golden file. I've asked George to do it.
There was a problem hiding this comment.
I foudn out there were a few more missing, so added them all (on a separate commit): 567e92b
01ddfc4 to
967f440
Compare
|
You can preview 01ddfc4 at https://pr31377-01ddfc4.ngbuilds.io/. |
|
You can preview 967f440 at https://pr31377-967f440.ngbuilds.io/. |
|
You can preview c25a0f9 at https://pr31377-c25a0f9.ngbuilds.io/. |
|
You can preview c3dd1ff at https://pr31377-c3dd1ff.ngbuilds.io/. |
c3dd1ff to
0db38da
Compare
|
You can preview d457932 at https://pr31377-d457932.ngbuilds.io/. |
|
You can preview f1e57b8 at https://pr31377-f1e57b8.ngbuilds.io/. |
|
Please fix the CLA and re-run codefresh. |
f1e57b8 to
4a76e3c
Compare
|
You can preview 4a76e3c at https://pr31377-4a76e3c.ngbuilds.io/. |
4a76e3c to
3e38ced
Compare
|
You can preview 3e38ced at https://pr31377-3e38ced.ngbuilds.io/. |
3e38ced to
e6a1678
Compare
|
You can preview e6a1678 at https://pr31377-e6a1678.ngbuilds.io/. |
… types Some of the provider interfaces that the [Provider][1] and [StaticProvider][2] types comprise were not exported from [@angular/core][3]. As a result, the docs for these symbols did not appear on angular.io (even though both `Provider` and `StaticProvider` are part of the public API. (See, also, angular#31377 (comment).) This commit fixes it by exporting all necessary provider interfaces. [1]: https://github.com/angular/angular/blob/9e34670b2/packages/core/src/di/interface/provider.ts#L365-L366 [2]: https://github.com/angular/angular/blob/9e34670b2/packages/core/src/di/interface/provider.ts#L283-L284 [3]: https://github.com/angular/angular/blob/9e34670b2/packages/core/src/di/index.ts#L23
e6a1678 to
742b170
Compare
|
You can preview 742b170 at https://pr31377-742b170.ngbuilds.io/. |
|
A Googler has manually verified that the CLAs look good. (Googler, please make sure the reason for overriding the CLA status is clearly documented in these comments.) ℹ️ Googlers: Go here for more info. |
… types (#31377) Some of the provider interfaces that the [Provider][1] and [StaticProvider][2] types comprise were not exported from [@angular/core][3]. As a result, the docs for these symbols did not appear on angular.io (even though both `Provider` and `StaticProvider` are part of the public API. (See, also, #31377 (comment).) This commit fixes it by exporting all necessary provider interfaces. [1]: https://github.com/angular/angular/blob/9e34670b2/packages/core/src/di/interface/provider.ts#L365-L366 [2]: https://github.com/angular/angular/blob/9e34670b2/packages/core/src/di/interface/provider.ts#L283-L284 [3]: https://github.com/angular/angular/blob/9e34670b2/packages/core/src/di/index.ts#L23 PR Close #31377
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |


PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Makes descriptions parallel, cleans up styles and formats to be consistent.
Mostly for decorators, but some other API issues that were reported.
Does this PR introduce a breaking change?