/
zxclovly
/
BlinkCode
Обзор
Документация
Войти
/
zxclovly
/
BlinkCode
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/types/electron.d.ts
28 строк
710 B
lovlygod
Add embedded browser preview and bump version to 0.2.0
21 апр 2026, 23:00
21 апр 2026, 23:00
f016874
Код
Авторство
О чём код?
import type * as React from 'react'; export {}; declare global { interface Window { electronAPI?: { openFolder?: () => Promise<string | null>; openExternal?: (url: string) => Promise<boolean>; minimizeWindow?: () => Promise<void>; maximizeWindow?: () => Promise<boolean>; closeWindow?: () => Promise<void>; isWindowMaximized?: () => Promise<boolean>; }; } namespace JSX { interface IntrinsicElements { webview: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> & { src?: string; allowpopups?: string; webpreferences?: string; preload?: string; partition?: string; }; } } }