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'