You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
[ ] Other... Please describe:
Current behavior
There is no DoBootstrap interface for modules like there is for all of the lifecycle hooks of components.
Expected behavior
There should be an interface so that this would work:
What is the motivation / use case for changing the behavior?
There is an interface available for each lifecycle hook but ngDoBootstrap is missing the corresponding interface. This can be problematic for people with OCD over things like shown in the images above.
While adding the interface and getting rid of the linter warning improves quality of my life substantially already, there is also another point: documentation. Currently there is not much documentation covering the ngDoBootstrap so adding the interface also provides an entry for it in the angular.io documentation with example on how it should be utilized.
The text was updated successfully, but these errors were encountered:
I'm submitting a...
Current behavior
There is no
DoBootstrap
interface for modules like there is for all of the lifecycle hooks of components.Expected behavior
There should be an interface so that this would work:
What is the motivation / use case for changing the behavior?
There is an interface available for each lifecycle hook but
ngDoBootstrap
is missing the corresponding interface. This can be problematic for people with OCD over things like shown in the images above.While adding the interface and getting rid of the linter warning improves quality of my life substantially already, there is also another point: documentation. Currently there is not much documentation covering the
ngDoBootstrap
so adding the interface also provides an entry for it in the angular.io documentation with example on how it should be utilized.The text was updated successfully, but these errors were encountered: