react-big-scheduler
react-big-scheduler copied to clipboard
Error when using in a typescript project
Hello, I'm seeing this error when trying to use the 'Scheduler' on a typescript project
JSX element type 'Scheduler' does not have any construct or call signatures. TS2604
> 10 | return <Scheduler schedulerData={schedulerData} />;
| ^
11 | }
12 | }
13 |
Hey @ChrisAldama , did you have any luck in fixing this issue?
Hi, I have the same issue here. I Already added the typings for the scheduler but it dies not work for now.
@ChrisAldama @SBajonczak We did a TS version scheduler based on this lib. Please feel free to have a try on it: https://github.com/NGC-AB/react-scheduler-calendar . We did some refactor, and it has better support for TS, but it's still in progress.
Hi @Yaowenjie, the link to that repository is no longer available, do you still have a link that I can take a look at?
@Yaowenjie It's a private repository I think.
@DatPriest @iDavidB Yes, for some reason, it becomes private from some moment.
@Yaowenjie Can you make this repo to public? https://github.com/NGC-AB/react-scheduler-calendar