Fix: use generic callback type for startActivity in useSessionHandlers

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-04-25 14:38:24 +02:00
parent c92f2dc7a7
commit 6a9eb048da

View File

@@ -13,7 +13,7 @@ export async function startSessionFlow(params: {
selectedMobileFile: { dataUrl: string; type: string; name: string } | null
storedDocuments: StoredDocument[]
ocrPrompts: OcrPrompts
startActivity: (type: string, meta?: any) => void
startActivity: (...args: any[]) => void
setSession: (s: Session | null | ((prev: Session | null) => Session | null)) => void
setWorksheetTitle: (t: string) => void
setExtractionStatus: (s: string) => void