fix: 修改图表类型错误

This commit is contained in:
MTrun
2022-02-24 10:21:33 +08:00
parent b8639ceb7e
commit 2bdc489827
6 changed files with 19 additions and 14 deletions
+1 -2
View File
@@ -9,7 +9,6 @@ export type ConfigType = {
package: string
node: Component
image: string | (() => Promise<typeof import('*.png')>)
[T: string]: unknown
}
// 组件实例类
@@ -21,7 +20,7 @@ export interface PublicConfigType {
}
export interface CreateComponentType extends PublicConfigType {
key: string
chartData: ConfigType
chartData: Omit<ConfigType, 'node'>
option: object
}