You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I am trying to integrate cal-heatmap with nextjs but have an error with importing library:
Could not find a declaration file for module 'cal-heatmap'. '/Users/ruslangorelov/projects/life-history/front/node_modules/.pnpm/[email protected]/node_modules/cal-heatmap/dist/cal-heatmap.js' implicitly has an 'any' type.
Try npm i --save-dev @types/cal-heatmap if it exists or add a new declaration (.d.ts) file containing declare module 'cal-heatmap';
Hey, I am trying to integrate cal-heatmap with nextjs but have an error with importing library:
My component:
and tsconfig.json:
I was trying to play with some options in tsconfig, but it wasn't successful. Help me find out what is the problem here )
The text was updated successfully, but these errors were encountered: