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
Could not find a declaration file for module '@rsuite/charts'. '.../node_modules/@rsuite/charts/dist/esm/index.js' implicitly has an 'any' type.
There are types at '.../node_modules/@rsuite/charts/dist/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@rsuite/charts' library may need to update its package.json or typings.ts(7016)
The text was updated successfully, but these errors were encountered:
Importing
BarChart
from@rsuite/charts
causes a Typescript error.Since typescript 4.7 the
package.json
must contains types in theexports
attribute. You can find the documentation here: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-7.html#packagejson-exports-imports-and-self-referencingCan you fix this please?
The import statement:
The typescript error:
The text was updated successfully, but these errors were encountered: