organizing things and cracking problem with the polyfills i think?
This commit is contained in:
+11
-1
@@ -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;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user