You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using node 20.3.1 and yarn 3.3.0, when doing yarn install with react-datepicker@6.9.0 and @types/react-datepicker@6.2.0 I have the following error:
../node_modules/date-fns/index.d.ts(246,1): error TS1383: Only named exports may use 'export type'.
../node_modules/date-fns/types.d.ts(2,1): error TS1383: Only named exports may use 'export type'.
../node_modules/date-fns/types.d.ts(3,1): error TS1383: Only named exports may use 'export type'.
To Reproduce
Use node 20 and react-datepicker v6.9.0
Yarn install
Expected behavior
Installation should happen without errors.
Desktop (please complete the following information):
OS: Ubuntu 22.04
Thank you!
The text was updated successfully, but these errors were encountered:
Describe the bug
Using node 20.3.1 and yarn 3.3.0, when doing
yarn install
withreact-datepicker@6.9.0
and@types/react-datepicker@6.2.0
I have the following error:To Reproduce
Expected behavior
Installation should happen without errors.
Desktop (please complete the following information):
Thank you!
The text was updated successfully, but these errors were encountered: