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

This commit is contained in:
Conrad 2019-03-11 19:49:48 +02:00 committed by Wesley Wigham
parent 66f4e2ce01
commit d3bd440fbd

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;