Skip to content

Commit 82908d3

Browse files
karlhorkyporsager
authored andcommitted
Allow array of Fragments in ParameterOrFragment
Ref: #217 (comment)
1 parent 75d723d commit 82908d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

types/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,7 @@ declare namespace postgres {
636636
type ParameterOrFragment<T> =
637637
| SerializableParameter<T>
638638
| Fragment
639+
| Fragment[]
639640

640641
interface Sql<TTypes extends Record<string, unknown> = {}> {
641642
/**

0 commit comments

Comments
 (0)