chore: Better typing for preload.ts (#1055)

This commit is contained in:
Alex Hancock
2025-02-03 20:52:48 -05:00
committed by GitHub
parent c9c03222d1
commit 8765b03a95
8 changed files with 79 additions and 87 deletions
-8
View File
@@ -10,14 +10,6 @@ interface InputProps {
onStop?: () => void;
}
declare global {
interface Window {
electron: {
selectFileOrDirectory: () => Promise<string | null>;
};
}
}
export default function Input({
handleSubmit,
disabled = false,