Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71530

Is date-fns@2.30.0 the last version compatible with ionic / angular?

$
0
0

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?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 71530

Trending Articles