2
0
mirror of https://github.com/frappe/books.git synced 2024-11-08 23:00:56 +00:00
books/src/shims-tsx.d.ts
18alantom e2b9ea1f49 refactor: switch to preload script
- delete ipcCalls
2023-07-10 13:33:52 +05:30

19 lines
366 B
TypeScript

import type { IPC } from 'main/preload';
import Vue, { VNode } from 'vue';
declare global {
const ipc: IPC;
namespace JSX {
type Element = VNode;
type ElementClass = Vue;
interface IntrinsicElements {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
[elem: string]: any;
}
}
interface Window {
ipc: IPC;
}
}