Ionic 5 events from @ionic-angular is missing

Hi

I have updated my project to ionic 5. Now my code is broken because Events from @ionic-angular are missing.

export ‘Events’ was not found in '@ionic/angular

Please suggest the fix for this

When you migrate to a new Major Release, you should read the Changelog and Breaking Changes correctly. See here:

The @ionic/angular Events service has been removed.

Use Observables instead. They support typing, so you can write more expressive and bug-resistant code. They are named properties, so typos can get caught, unlike Events with their string constants. They can be scoped, making more testable code whose boundaries are more clearly delineated. Not to mention getting all the RxJS operators to play with.

thanks for the help…yes I later saw in the docuent.