From 73549b883fc8b2f156340041c991f481df63d83b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bilal=20U=C3=A7ar?= Date: Thu, 7 Feb 2019 11:56:37 +0300 Subject: [PATCH] @types/echarts Enhance echarts title options definition --- types/echarts/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/echarts/index.d.ts b/types/echarts/index.d.ts index adc4a2a24e..5d40c148f6 100644 --- a/types/echarts/index.d.ts +++ b/types/echarts/index.d.ts @@ -5,6 +5,7 @@ // Liveangela // Ovilia // Roman +// Bilal // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -460,7 +461,7 @@ declare namespace echarts { * * @see https://ecomfe.github.io/echarts-doc/public/en/option.html#title */ - title?: EChartTitleOption + title?: EChartTitleOption | EChartTitleOption[] /** * Legend component.