MCPcopy
hub / github.com/vercel/hyper / App

Interface App

app/extend-electron.d.ts:5–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3declare global {
4 namespace Electron {
5 interface App {
6 config: typeof import('./config');
7 plugins: typeof import('./plugins');
8 getWindows: () => Set<BrowserWindow>;
9 getLastFocusedWindow: () => BrowserWindow | null;
10 windowCallback?: (win: BrowserWindow) => void;
11 createWindow: (
12 fn?: (win: BrowserWindow) => void,
13 options?: {size?: [number, number]; position?: [number, number]}
14 ) => BrowserWindow;
15 setVersion: (version: string) => void;
16 }
17
18 // type Server = import('./rpc').Server;
19 interface BrowserWindow {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected