- Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Closed
Copy link
Labels
package: angular@ionic/angular package@ionic/angular packagetype: buga confirmed bug reporta confirmed bug report
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v7.x
Current Behavior
When upgrading to latest Ionic (v7.7.3) the build fails with error:
error TS2339: Property 'ionNavDidChange' does not exist on type 'IonNav'. 44 this.ionNav.ionNavDidChange.subscribe(async () => { ~~~~~~~~~~~~~~~
Expected Behavior
This was not added to the breaking changes, and is still referenced in the documentation.
so the code should still work
Steps to Reproduce
- create a property of type
IonNav
- try to access ionNavDidChange
- (IDE will probably error here)
- run build
Code Reproduction URL
https://stackblitz.com/edit/ionic-ion-nav-issue-reproduction?file=src%2Fmain.ts
Ionic Info
Ionic:
Ionic CLI : 5.4.16
Utility:
cordova-res : not installed
native-run : not installed
System:
NodeJS : v21.1.0
npm : 10.2.5
OS : macOS Unknown
Additional Information
Bug was already mentioned in #28863 but closed without checking it properly.
Metadata
Metadata
Assignees
Labels
package: angular@ionic/angular package@ionic/angular packagetype: buga confirmed bug reporta confirmed bug report