We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find the Decimation plugin in typescript type for registering.
Module '"chart.js"' has no exported member 'Decimation'.ts(2305)
Add export const Decimation: Plugin;
in types/index.esm.d.ts
With the code in
https://www.chartjs.org/docs/3.3.0/getting-started/integration.html#bundlers-webpack-rollup-etc
only the non-short form that includes Decimation
I use Typescript
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Expected Behavior
Find the Decimation plugin in typescript type for registering.
Current Behavior
Module '"chart.js"' has no exported member 'Decimation'.ts(2305)
Possible Solution
Add
export const Decimation: Plugin;
in types/index.esm.d.ts
Steps to Reproduce
With the code in
https://www.chartjs.org/docs/3.3.0/getting-started/integration.html#bundlers-webpack-rollup-etc
only the non-short form that includes Decimation
Context
I use Typescript
Environment
"ts-loader": "^9.2.2",
"typescript": "^4.2.4",
"webpack": "^5.37.1",
The text was updated successfully, but these errors were encountered: