fix return type for setActiveElements (#7961)

This commit is contained in:
Fabian
2020-10-26 22:31:45 +02:00
committed by GitHub
parent 495c35950c
commit 68bae7906d
2 changed files with 2 additions and 2 deletions

View File

@@ -299,7 +299,7 @@ export declare class Chart<
show(datasetIndex: number): void;
getActiveElements(): ActiveElement[];
setActiveElements(active: ActiveDataPoint[]);
setActiveElements(active: ActiveDataPoint[]): void;
destroy(): void;
toBase64Image(type?: string, quality?: any): string;

View File

@@ -295,7 +295,7 @@ export const Tooltip: IPlugin & {
};
getActiveElements(): ActiveElement[];
setActiveElements(active: ActiveDataPoint[], eventPosition: { x: number, y: number });
setActiveElements(active: ActiveDataPoint[], eventPosition: { x: number, y: number }): void;
};
export interface ITooltipCallbacks {