Skip to content

Commit bcbddce

Browse files
committed
fix: augment prismaPostgresTextContent type with transaction fns
1 parent 20876cb commit bcbddce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/dts/index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
declare global {
22
var prismaPostgresTestContext: {
3+
beginTestTransaction: () => Promise<void>;
34
client: PrismaClientLike;
5+
endTestTransaction: () => void;
46
};
57
}
68

0 commit comments

Comments
 (0)