wojtekmaj/react-daterange-picker

Could not find a declaration file for module '@wojtekmaj/react-daterange-picker'.

ClusterH opened this issue · 3 comments

@wojtekmaj/react-daterange-picker": "^3.3.0"
"@types/wojtekmaj__react-datetimerange-picker": "^3.0.2",
"react": "^17.0.1",
"typescript": "^4.1.5",

I use yarn, not npm.

when I import the package, I got error as above.
import DateRangePicker from '@wojtekmaj/react-daterange-picker'

image

Please raise an issue in DefinitelyTyped repo instead. There's nothing we can do about the typings here.

npm install @types/wojtekmaj__react-datetimerange-picker

was difficult to find. source: https://stackoverflow.com/questions/66233124/typescript-error-using-react-daterange-picker-no-overload-matches-this-call

Sorry, my last comment was wrong. I just added the type in DefintelyTyped: https://www.npmjs.com/package/@types/wojtekmaj__react-daterange-picker

I'm doing a PR to update the readme