Files
ontime/apps/client/src/declarations/declaration.d.ts
T
2024-06-03 20:18:19 +02:00

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 {};