UNPKG

electron-svelte

Version:

A simple and easy to use cli tool for generating modern templates for svelte/electron/ts.

11 lines (8 loc) 197 B
/// <reference types="svelte" /> import APP_BRIDGE from '../electron/src/preload'; // allows us auto-types for IPC Handlers declare global { interface Window { bridge: typeof APP_BRIDGE; } }