-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support react 17 #71
base: master
Are you sure you want to change the base?
Support react 17 #71
Conversation
Hey just wondering what this PR is waiting for? Thanks |
It looks like this repo is not active currently. As a workaround you can install this patched version. |
Hey @AXeL-dev, i tried installing the patched version and it gives me this error :@axel-dev/react-nice-dates.d.ts is not a module |
Did you keep both modules? 'cause i see in the bottom an import line with |
I have the same problem than @ZilRahman :( I have this issue I uninstall |
You're getting this error because the library is written in javascript & you're using it on a typescript project, the best solution would be to install a types declarations module (something like
{
...,
"include": [
...,
+ "declarations.d.ts"
]
} Your error should be fixed after that. |
@danieltoro, the types declarations issue was fixed in version
|
Added support for react 17 as peer dependency.