Skip to content

Commit 4fab6c2

Browse files
committed
chore: make emit type a little more consistent with runtime
1 parent 0edfb39 commit 4fab6c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ECharts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default defineComponent({
6868
...autoresizeProps,
6969
...loadingProps
7070
},
71-
emits: [] as unknown as Emits,
71+
emits: {} as unknown as Emits,
7272
inheritAttrs: false,
7373
setup(props, { attrs }) {
7474
const root = shallowRef<EChartsElement>();

0 commit comments

Comments
 (0)