Skip to content

Commit

Permalink
Add simple() type definition
Browse files Browse the repository at this point in the history
Fixes #714.
  • Loading branch information
iby authored and porsager committed Feb 17, 2024
1 parent 4f648b3 commit 2b85ea7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,7 @@ declare namespace postgres {
type RowList<T extends readonly any[]> = T & Iterable<NonNullable<T[number]>> & ResultQueryMeta<T['length'], keyof T[number]>;

interface PendingQueryModifiers<TRow extends readonly any[]> {
simple(): this;
readable(): Promise<Readable>;
writable(): Promise<Writable>;

Expand Down

0 comments on commit 2b85ea7

Please sign in to comment.