Skip to content

DoBootstrap interface does not exist #24557

Description

@RoopeHakulinen

I'm submitting a...


[ ] 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.
capture

Expected behavior

There should be an interface so that this would work:
capture2

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreIssues related to the framework runtimefeatureLabel used to distinguish feature request from other issues

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions