chore: make emit type a little more consistent with runtime

This commit is contained in:
Justineo
2023-01-08 23:38:03 +08:00
parent 0edfb3936c
commit 4fab6c272b

View File

@ -68,7 +68,7 @@ export default defineComponent({
...autoresizeProps, ...autoresizeProps,
...loadingProps ...loadingProps
}, },
emits: [] as unknown as Emits, emits: {} as unknown as Emits,
inheritAttrs: false, inheritAttrs: false,
setup(props, { attrs }) { setup(props, { attrs }) {
const root = shallowRef<EChartsElement>(); const root = shallowRef<EChartsElement>();