wa0x6e / cal-heatmap

Cal-Heatmap is a javascript charting library to create a time-series calendar heatmap
http://cal-heatmap.com
MIT License
2.69k stars 290 forks source link

Type is not correctly exported in "exports" #452

Closed FallingEpiphany closed 7 months ago

FallingEpiphany commented 8 months ago

"types": "./src/index.d.ts" are not exported correctly in the package.json "exports" field. WIth VScode warn:

There are types at 'e:/Project_Rianprint/Rainprint-FrontEndApp/node_modules/@labzh/cal-heatmap/src/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@labzh/cal-heatmap' library may need to update its package.json or typings.ts(7016)

wa0x6e commented 7 months ago

Your error is coming from @labzh/cal-heatmap, which is a fork