@types/chart.js: changed getElementAtEvent to single array object (#33765)

This commit is contained in:
Conrad
2019-03-11 10:49:48 -07:00
committed by Wesley Wigham
parent 66f4e2ce01
commit d3bd440fbd
+1 -1
View File
@@ -33,7 +33,7 @@ declare class Chart {
clear: () => {};
toBase64Image: () => string;
generateLegend: () => {};
getElementAtEvent: (e: any) => {};
getElementAtEvent: (e: any) => [{}];
getElementsAtEvent: (e: any) => Array<{}>;
getDatasetAtEvent: (e: any) => Array<{}>;
getDatasetMeta: (index: number) => Meta;