chore: Better typing for preload.ts (#1055)
This commit is contained in:
@@ -10,14 +10,6 @@ interface InputProps {
|
||||
onStop?: () => void;
|
||||
}
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
electron: {
|
||||
selectFileOrDirectory: () => Promise<string | null>;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export default function Input({
|
||||
handleSubmit,
|
||||
disabled = false,
|
||||
|
||||
Reference in New Issue
Block a user