fix: #17667 EChartsInitOpts type error about height and width
diff --git a/src/core/echarts.ts b/src/core/echarts.ts
index 65ac63f..e36d036 100644
--- a/src/core/echarts.ts
+++ b/src/core/echarts.ts
@@ -328,8 +328,8 @@
     useCoarsePointer?: boolean,
     pointerSize?: number,
     ssr?: boolean,
-    width?: number,
-    height?: number
+    width?: number | string,
+    height?: number | string
 };
 class ECharts extends Eventful<ECEventDefinition> {