Skip to content

Fix datasetKeyProvider typing #310

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

Merged
merged 1 commit into from
Jul 17, 2018
Merged

Fix datasetKeyProvider typing #310

merged 1 commit into from
Jul 17, 2018

Conversation

nstepien
Copy link
Contributor

  • The lack of type for the argument breaks when TypeScript's noImplicitAny is enabled
  • datasetKeyProvider is optional, as it defaults to ChartComponent.getLabelAsKey

- The lack of type for the argument breaks when TypeScript's `noImplicitAny` is enabled
- `datasetKeyProvider` is optional, as it defaults to `ChartComponent.getLabelAsKey`
@jerairrest
Copy link
Collaborator

Thanks for the PR!

@jerairrest jerairrest merged commit 62af442 into reactchartjs:master Jul 17, 2018
@nstepien nstepien deleted the patch-1 branch July 17, 2018 15:16
@sithuhlaing
Copy link

How to provide datasetKeyProvider and set the data into chart line graph

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

Successfully merging this pull request may close these issues.

3 participants