From 3065d70f01329a6a8484409cd168722011414234 Mon Sep 17 00:00:00 2001 From: yoyoys Date: Sat, 26 Oct 2019 18:13:52 +0800 Subject: [PATCH] fix: Fix type script definition for `addPlugin` method (#564) --- types/components.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/components.d.ts b/types/components.d.ts index d1e5fbf5..163cf5e8 100644 --- a/types/components.d.ts +++ b/types/components.d.ts @@ -3,6 +3,6 @@ import { ChartData, ChartOptions } from 'chart.js'; /** vue-chartjs component common definition */ export declare class BaseChart extends Vue { - addPlugin (plugin?: string[]): void + addPlugin (plugin?: object): void renderChart (chartData: ChartData, options?: ChartOptions): void }