mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-21 05:47:18 +00:00
13 lines
292 B
TypeScript
13 lines
292 B
TypeScript
// See the Electron documentation for details on how to use preload scripts:
|
|
// https://www.electronjs.org/docs/latest/tutorial/process-model#preload-scripts
|
|
|
|
import * as webapi from '../webapi';
|
|
|
|
declare global {
|
|
interface Window {
|
|
etcher: typeof webapi;
|
|
}
|
|
}
|
|
|
|
window['etcher'] = webapi;
|