Skip to content

Commit

Permalink
Merge pull request #17727 from MainHou/master
Browse files Browse the repository at this point in the history
fix: EChartsInitOpts type error about height and width. close #17667
  • Loading branch information
Ovilia authored Oct 8, 2022
2 parents 81321a6 + 96f859c commit db0f92a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/echarts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,8 @@ type EChartsInitOpts = {
useCoarsePointer?: boolean,
pointerSize?: number,
ssr?: boolean,
width?: number,
height?: number
width?: number | string,
height?: number | string
};
class ECharts extends Eventful<ECEventDefinition> {

Expand Down

0 comments on commit db0f92a

Please sign in to comment.