Skip to content

Commit ad0ed44

Browse files
adrtivvporsager
authored andcommitted
fixed typings for generic error code variants
1 parent 089214e commit ad0ed44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

types/index.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,8 @@ declare namespace postgres {
456456
| 'NOT_TAGGED_CALL'
457457
| 'UNDEFINED_VALUE'
458458
| 'MAX_PARAMETERS_EXCEEDED'
459-
| 'SASL_SIGNATURE_MISMATCH';
459+
| 'SASL_SIGNATURE_MISMATCH'
460+
| 'UNSAFE_TRANSACTION';
460461
message: string;
461462
}
462463

0 commit comments

Comments
 (0)