chore: fix lint && typecheck
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user