Skip to content

Commit

Permalink
fix: 修复 vue3 组件注册时类型错误 (Tencent#393)
Browse files Browse the repository at this point in the history
  • Loading branch information
gadzan authored Feb 14, 2023
1 parent f92942f commit b6bea4d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/wujie-vue3/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { bus, preloadApp, destroyApp, setupApp } from "wujie";
import { App } from "vue";
import type { DefineComponent, Plugin } from 'vue';

declare const WujieVue: {
declare const WujieVue: DefineComponent & Plugin & {
bus: typeof bus;
setupApp: typeof setupApp;
preloadApp: typeof preloadApp;
destroyApp: typeof destroyApp;
install: (app: App) => any;
};

export default WujieVue;

0 comments on commit b6bea4d

Please sign in to comment.