Skip to content

Commit 3072b24

Browse files
committed
fix: Declare EChartsOption type as any
1 parent e150dc1 commit 3072b24

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/types.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import { CSSProperties } from 'react';
2-
import type { EChartsOption, EChartsType } from 'echarts';
2+
import type { EChartsType } from 'echarts';
33

4-
export type { EChartsOption };
4+
/**
5+
* Solve the type conflict caused by multiple type files
6+
*/
7+
export type EChartsOption = any;
58

69
export type EChartsInstance = EChartsType;
710

0 commit comments

Comments
 (0)