node_modules/react-datepicker/dist/calendar.d.ts:10:26 - error TS2307: Cannot find module 'date-fns/types' or its corresponding type declarations.
import type { Day } from "date-fns/types";
date-fns includes types now, so I believe this can be changed to: import type { Day } from "date-fns";
I am getting this Typescript error:
date-fns includes types now, so I believe this can be changed to:
import type { Day } from "date-fns";
Using: date-fns: 3.6.0 react-datepicker: 7.2.0