organizing things and cracking problem with the polyfills i think?

This commit is contained in:
talksik
2022-03-18 11:40:53 -04:00
parent 18a50cd121
commit e66166af29
8 changed files with 87 additions and 37 deletions
+11 -1
View File
@@ -3,6 +3,16 @@ import { electronAPI } from "./preload";
export {};
declare global {
interface Window {
electronAPI: typeof electronAPI;
electronAPI: {
auth: {
initiateLogin(): void;
};
store: {
get(val: STORE_ITEMS): any;
set(property: STORE_ITEMS, val: any): void;
};
on(channel: Channels, func: any): void;
once(channel: Channels, func: any): void;
};
}
}