Skip to content

Commit 77b1d26

Browse files
committed
inferred type
1 parent 1b3c72c commit 77b1d26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/outbox-prisma-adapter/lib/outbox-prisma-adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class OutboxPrismaAdapter<
5959
},
6060
})
6161

62-
await this.prisma.$transaction(async (prisma) => {
62+
await this.prisma.$transaction(async (prisma: { [x: string]: ModelDelegate }) => {
6363
const prismaModel = prisma[this.modelName] as ModelDelegate
6464
await this.handleSuccesses(prismaModel, entries, existingEntries)
6565
await this.handleFailures(prismaModel, failedEntries, existingEntries)

0 commit comments

Comments
 (0)