Prerequisites
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.
Prerequisites
Ionic Framework Version
v7.x
Current Behavior
When upgrading to latest Ionic (v7.7.3) the build fails with error:
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
IonNavCode 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.