From 3f8cae8d1c9914002a119e59b54718f9920c219e Mon Sep 17 00:00:00 2001 From: Juergen Kunz Date: Sat, 29 Nov 2025 21:20:38 +0000 Subject: [PATCH] fix(documents): Fix BulkResponseItem type casting in document-session --- ts/domain/documents/document-session.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/domain/documents/document-session.ts b/ts/domain/documents/document-session.ts index ab35312..bae0c84 100644 --- a/ts/domain/documents/document-session.ts +++ b/ts/domain/documents/document-session.ts @@ -241,7 +241,7 @@ export class DocumentSession { const action = Object.keys(item)[0]; if (!action) continue; - const result = item[action as keyof typeof item] as Record | undefined; + const result = item[action as keyof typeof item] as unknown as Record | undefined; if (result?.error) { failed++;