Skip to content

Conflict between tsdocs and what migration to Angular 21 does #67209

@ilyakonrad

Description

@ilyakonrad

Command

update

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

I've upgraded to Angular 21, which added { applicationProviders: [provideZoneChangeDetection()] } in

platformBrowser()
  .bootstrapModule(AppModule)
  .catch((error: Error) => console.error(error))

However the description of provideZoneChangeDetection says This provider is not available for platformBrowser().bootstrapModule.

Image

Minimal Reproduction

Just migrate a module-based app to Angular 21, I guess.

Exception or Error


Your Environment

| @angular/core                     │ 21.1.5            │ ^21.1.5           │
│ @angular/fire                     │ 20.0.1            │ ^20.0.1           │
│ @angular/forms                    │ 21.1.5            │ ^21.1.5           │
│ @angular/language-service         │ 21.1.5            │ ^21.1.5           │
│ @angular/material                 │ 21.1.5            │ ^21.1.5           │
│ @angular/material-moment-adapter  │ 21.1.5            │ ^21.1.5           │
│ @angular/platform-browser         │ 21.1.5            │ ^21.1.5           │
│ @angular/platform-browser-dynamic │ 21.1.5            │ ^21.1.5           │
│ @angular/platform-server          │ 21.1.5            │ ^21.1.5           │
│ @angular/router                   │ 21.1.5            │ ^21.1.5           │
│ @angular/service-worker           │ 21.1.5            │ ^21.1.5           │
│ rxjs                              │ 7.8.2             │ 7.8.2             │
│ typescript                        │ 5.9.3             │ 5.9.3             │
│ webpack                           │ 5.105.2           │ 5.105.2           │
│ zone.js                           │ 0.16.1            │ ^0.16.1           │

Anything else relevant?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: docsRelated to the documentation

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions