In my app (Ionic 8, Angular 18), when I use a version of date-fns greater than 2.30.0, I get errors like:
Error: [ng] Error: node_modules/date-fns/intlFormatDistance.d.ts:6:16 - error TS2724: ‘Intl’ has no exported member named ‘RelativeTimeFormatOptions’. Did you mean ‘DateTimeFormatOptions’? 6 extends Intl.RelativeTimeFormatOptions,
Should I keep 2.30.0, or do I need to make any changes?