Skip to content
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

JSX element type 'CountUp' does not have any construct or call signatures. #235

Closed
apuntovanini opened this issue Dec 9, 2019 · 3 comments

Comments

@apuntovanini
Copy link

apuntovanini commented Dec 9, 2019

WIth simple usage and latest version with typings it raises this error.

import CountUp from 'react-countup';

<CountUp
  start={0}
  end={difference}
  decimals={3}
  suffix="%"
  formattingFn={value => format(value, 'percent')}
/>
@mmarkelov
Copy link
Collaborator

@apuntovanini it was some issues with ts definition. Could please check 4.2.6 version?

@apuntovanini
Copy link
Author

Yes! Ts error is gone with 4.2.6, thanks!

@drethedevjs
Copy link

Hi, This is still an issue. I tried 4.2.6 and the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants