chore: fix lint && typecheck

This commit is contained in:
Jin Mao
2026-03-25 16:33:24 +08:00
parent 9d69d7f46c
commit 417e6c2ade
7 changed files with 77 additions and 59 deletions

View File

@@ -1,6 +1,4 @@
export type { ECOption } from './types';
import { BarChart, LineChart, PieChart, RadarChart } from "echarts/charts";
import { BarChart, LineChart, PieChart, RadarChart } from 'echarts/charts';
import {
DatasetComponent,
GridComponent,
@@ -8,12 +6,15 @@ import {
TitleComponent,
ToolboxComponent,
TooltipComponent,
TransformComponent
} from "echarts/components";
import * as echarts from "echarts/core";
import { LabelLayout, LegacyGridContainLabel, UniversalTransition } from "echarts/features";
import { CanvasRenderer } from "echarts/renderers";
TransformComponent,
} from 'echarts/components';
import * as echarts from 'echarts/core';
import {
LabelLayout,
LegacyGridContainLabel,
UniversalTransition,
} from 'echarts/features';
import { CanvasRenderer } from 'echarts/renderers';
echarts.use([
TitleComponent,
@@ -32,5 +33,6 @@ echarts.use([
LegendComponent,
ToolboxComponent,
]);
export type { ECOption } from './types';
export default echarts;