From c8d5eeea73c42274e6a2cada1c40578334baa9b7 Mon Sep 17 00:00:00 2001 From: Fabien Lavocat Date: Mon, 12 Jun 2017 09:23:01 -0700 Subject: [PATCH] Update the library react-chartjs-2 that depends on chart.js --- types/react-chartjs-2/index.d.ts | 3 ++- types/react-chartjs-2/test/doughnut.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/types/react-chartjs-2/index.d.ts b/types/react-chartjs-2/index.d.ts index e3e2da896c..1814a34932 100644 --- a/types/react-chartjs-2/index.d.ts +++ b/types/react-chartjs-2/index.d.ts @@ -1,6 +1,7 @@ // Type definitions for react-chartjs-2 2.0 // Project: https://github.com/gor181/react-chartjs-2 // Definitions by: Alexandre Paré +// Fabien Lavocat // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 @@ -25,7 +26,7 @@ export interface ChartComponentProps { } export interface LinearComponentProps extends ChartComponentProps { - data: ChartData; + data: ChartData; } export default class ChartComponent

extends React.Component { diff --git a/types/react-chartjs-2/test/doughnut.tsx b/types/react-chartjs-2/test/doughnut.tsx index 4051310185..268ddfe40e 100755 --- a/types/react-chartjs-2/test/doughnut.tsx +++ b/types/react-chartjs-2/test/doughnut.tsx @@ -14,7 +14,7 @@ const data = { '#36A2EB', '#FFCE56' ], - hoverBackgroundColor: [ + pointHoverBackgroundColor: [ '#FF6384', '#36A2EB', '#FFCE56'