1
0
mirror of https://github.com/h3poteto/whalebird-desktop synced 2024-12-27 09:14:44 +01:00
Whalebird-desktop-client-ma.../renderer/interfaces/index.ts

17 lines
474 B
TypeScript
Raw Normal View History

2023-11-01 17:20:27 +01:00
// You can include shared interfaces/types in a separate file
// and then use them in any component by importing them. For
// example, to import the interface below do:
//
// import User from 'path/to/interfaces';
// eslint-disable-next-line @typescript-eslint/no-unused-vars
import { IpcRenderer } from 'electron'
declare global {
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace NodeJS {
interface Global {
ipc: IpcRenderer
}
}
}