mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
@types/echarts Enhance echarts title options definition
This commit is contained in:
3
types/echarts/index.d.ts
vendored
3
types/echarts/index.d.ts
vendored
@@ -5,6 +5,7 @@
|
||||
// Liveangela <https://github.com/liveangela>
|
||||
// Ovilia <https://github.com/Ovilia>
|
||||
// Roman <https://github.com/iRON5>
|
||||
// Bilal <https://github.com/bilalucar>
|
||||
// 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.
|
||||
|
||||
Reference in New Issue
Block a user