- 将 ECOption 类型定义移至独立的 types.ts 文件 - 修改 echarts.ts 文件导入 ECOption 类型而不是定义 - 更新 index.ts 添加 types 导出 - 移除 echarts.ts 中冗余的类型导入和定义 - 添加完整的 README.md 文档说明插件使用方法 - 优化代码组织结构提高可维护性
5 lines
140 B
TypeScript
5 lines
140 B
TypeScript
export * from './echarts';
|
|
export * from './types';
|
|
export { default as EchartsUI } from './echarts-ui.vue';
|
|
export * from './use-echarts';
|