mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-06 16:03:52 +00:00
27 lines
520 B
TypeScript
27 lines
520 B
TypeScript
declare module '*.scss' {
|
|
const content: Record<string, string>;
|
|
export default content;
|
|
}
|
|
|
|
type ListenerType = (event: 'string', args: unknown[]) => void;
|
|
|
|
declare global {
|
|
interface Window {
|
|
ipcRenderer: {
|
|
send: (channel: string, args?: string | object) => void;
|
|
on: (channel: string, listener: ListenerType) => void;
|
|
};
|
|
process: {
|
|
type: string;
|
|
};
|
|
}
|
|
}
|
|
|
|
declare module 'react' {
|
|
interface CSSProperties {
|
|
[key: `--${string}`]: string | number;
|
|
}
|
|
}
|
|
|
|
export default {};
|