-
Notifications
You must be signed in to change notification settings - Fork 38
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
TimeEvent implementation does not exist in index.d.ts #182
Comments
I think you want |
Hi, I didn't understand what did you mean by I need TimeEvent to draw LineChart of 'react-timeseries-charts' library, because TimeSeries of LineChart requires an events object as one of its parameters. I can import Event from "pondjs" but when I run the code, the constructor of Event class gives an error due to the following condition:
However, in the index.d.ts file, in the constructor of TimeSeries it is written as In my opinion, it should be So that Event class should be TimeEvent in the index.d.ts file. |
Ok, those definitions are essentially community maintained (for pre-1.0 code, 1.0 onwards Pond is written in Typescript), but for use with the charts library, yeah, you will be on 0.9.x I think. Anyway, if you have a suggested fix can you send a PR and I'll merge it in? The PR should be against the |
Hi, I've sent the pull request. |
Hi, I've seen that my pull request has 1 failing check. I'm facing this issue even if I only do the following steps without making any change to the code.
So, I'm assuming that the failing check is not related to my change. Do you have any suggestion for me? ps: I've updated my pull request for solving the errors after this message. |
When I try to import TimeEvent from pondjs, it gives the following error:
Module '"pondjs"' has no exported member 'TimeEvent'.
Can you fix this problem please?
The text was updated successfully, but these errors were encountered: