Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cannot find module 'cal-heatmap/plugins/Tooltip' or its corresponding type declarations.ts(2307) #520

Open
zystudios opened this issue May 28, 2024 · 4 comments

Comments

@zystudios
Copy link

zystudios commented May 28, 2024

image

import CalHeatmap from "cal-heatmap";
import Tooltip from 'cal-heatmap/plugins/Tooltip';
import Legend from 'cal-heatmap/plugins/Legend';

image

Official example, the code will run, but with ts warning

thanks

@zakhij
Copy link

zakhij commented Nov 7, 2024

@wa0x6e Are you planning on deprecating the built-in plugins (Tooltip, Legend, LegendLite)? I see that they are excluded from package.json and their corresponding constructor files are gone in version 4.3.0-beta.4.

@wa0x6e
Copy link
Owner

wa0x6e commented Nov 8, 2024

@wa0x6e Are you planning on deprecating the built-in plugins (Tooltip, Legend, LegendLite)? I see that they are excluded from package.json and their corresponding constructor files are gone in version 4.3.0-beta.4.

I am planning to extract them to their own package

@zakhij
Copy link

zakhij commented Nov 8, 2024

I am planning to extract them to their own package

Where can one find this? is it available to view?

@wa0x6e
Copy link
Owner

wa0x6e commented Nov 10, 2024

I am planning to extract them to their own package

Where can one find this? is it available to view?

https://github.com/cal-heatmap

but it still work in progress

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

No branches or pull requests

3 participants