/// declare module '*.vue' { import type {DefineComponent} from 'vue' const component: DefineComponent<{}, {}, any> export default component } interface window { // expose in the `electron/preload/index.ts` ipcRenderer: import('electron').IpcRenderer }