diff --git a/src/frontend/shims-vue.d.ts b/src/frontend/shims-vue.d.ts deleted file mode 100644 index 2b97bd96..00000000 --- a/src/frontend/shims-vue.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare module '*.vue' { - import type { DefineComponent } from 'vue' - const component: DefineComponent<{}, {}, any> - export default component -} diff --git a/src/preload/index.d.ts b/src/preload/index.d.ts index b465064b..7ca1b1a4 100644 --- a/src/preload/index.d.ts +++ b/src/preload/index.d.ts @@ -1,10 +1,9 @@ declare global { interface Window { electron: { - sendMsg(msg: string): Promise, + sendMsg(msg: string): Promise onReplyMsg(cb: (msg: string) => any): void } } } - export { }