mirror of
https://github.com/hicccc77/WeFlow.git
synced 2026-03-25 15:25:50 +00:00
15 lines
513 B
TypeScript
15 lines
513 B
TypeScript
/// <reference types="vite/client" />
|
|
|
|
interface Window {
|
|
electronAPI: {
|
|
// ... other methods ...
|
|
auth: {
|
|
hello: (message?: string) => Promise<{ success: boolean; error?: string }>
|
|
}
|
|
// For brevity, using 'any' for other parts or properly importing types if available.
|
|
// In a real scenario, you'd likely want to keep the full interface definition consistent with preload.ts
|
|
// or import a shared type definition.
|
|
[key: string]: any
|
|
}
|
|
}
|