Files
AFFiNE-Mirror/packages/frontend/apps/electron-renderer/src/global.d.ts
T
2026-01-27 04:46:16 +08:00

17 lines
303 B
TypeScript

import type { apis, events } from '@affine/electron-api';
/**
* Extends the global Window interface to include AFFiNE's
* Electron bridge APIs and event emitters.
*/
declare global {
interface Window {
__apis?: {
apis: typeof apis;
events: typeof events;
};
}
}
export {};