Files
upscayl/renderer/interfaces/index.ts
Nayam Amarshe 0e1e2d1229 Init
2022-08-02 14:28:24 +05:30

22 lines
534 B
TypeScript

// 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 {
ipcRenderer: IpcRenderer
}
}
}
export type User = {
id: number
name: string
}