mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-12 15:46:29 +08:00
b8f626513f
Co-authored-by: DarkSky <darksky2048@gmail.com>
17 lines
303 B
TypeScript
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 {};
|