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

the index.d.ts #242

Closed
BKx201 opened this issue Dec 12, 2019 · 3 comments
Closed

the index.d.ts #242

BKx201 opened this issue Dec 12, 2019 · 3 comments

Comments

@BKx201
Copy link

BKx201 commented Dec 12, 2019

type countUpHook = ( useCountUpProps, ) => { countUp: number | string; onReset: () => void; nUpdate: () => void; onPauseResume: () => void; onStart: ({ pauseResume }) => void; onEnd: ({ pauseResume }) => void; };
not have update

@mmarkelov
Copy link
Collaborator

@BKx201 yeah! There is pr to fix it #240
I'm planning to merge it and publish new version in few days. Thanks!

@mmarkelov
Copy link
Collaborator

@BKx201 Must be fixed in 4.3.0

@daggmano
Copy link

Also getting a heap of implicit 'any' warnings on the parameters of events (onEnd, onStart, etc). Can these either have types applied or (at minimum) explicit 'any' types added?

This was referenced Dec 18, 2019
@BKx201 BKx201 closed this as completed Mar 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants