Skip to content

Type all with "any" is not a correctly type definition #1

New issue

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

Closed
pablogm95 opened this issue Nov 25, 2020 · 1 comment
Closed

Type all with "any" is not a correctly type definition #1

pablogm95 opened this issue Nov 25, 2020 · 1 comment

Comments

@pablogm95
Copy link

Type for example the datasets to any[] do not help to know the structure that must have. Instead that, you should extends from the @types/chart.js and type it as datasets?: ChartDataSets[]

@xidedix
Copy link
Member

xidedix commented Nov 25, 2020

Hello @pablogm95
Thanks for the heads-up!
PR welcome

@xidedix xidedix closed this as completed in 366765b Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants