Skip to content

Commit 3065d70

Browse files
yoyoysapertureless
authored andcommitted
fix: Fix type script definition for addPlugin method (#564)
1 parent f65adb3 commit 3065d70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/components.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ import { ChartData, ChartOptions } from 'chart.js';
33

44
/** vue-chartjs component common definition */
55
export declare class BaseChart extends Vue {
6-
addPlugin (plugin?: string[]): void
6+
addPlugin (plugin?: object): void
77
renderChart (chartData: ChartData, options?: ChartOptions): void
88
}

0 commit comments

Comments
 (0)