Wrong TS type for plugins prop
See original GitHub issueShouldn’t plugins
type be Chart.Plugin[]
rather than PluginServiceRegistrationOptions
? See TS types of chart.js:
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:7
Top Results From Across the Web
react/prop-types eslint error in typescript react component
So react/prop-types rule will conflict with TS Interfaces, which is why it shows that error, once you add : ButtonProps, we don't have...
Read more >Comparing TypeScript and PropTypes in React applications
PropTypes is a runtime type-checking tool for props in React applications. ... data type of the message prop from passing a wrong data...
Read more >TypeScript
This example will dive into implementing generic types for route schemas and the dynamic properties located on the route-level request object. If you...
Read more >TypeScript: JavaScript With Syntax For Types.
TypeScript extends JavaScript by adding types to the language. TypeScript speeds up your development experience by catching errors and providing fixes ...
Read more >babel/plugin-transform-typescript
and class properties ( this.#x ), this preset does not include these features because they are not the types syntax available in TypeScript...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dangreen So far looks and works good to me 😃
@burtek Hi. Can you try react-chartjs-2@v3.1.0? Is this issue still there?