Skip to content

Commit 1b5d558

Browse files
committed
Fix TypeScript typings
1 parent 5acb6dd commit 1b5d558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,5 @@ declare class SQLStatement {
6565
* pg.query(SQL`SELECT author FROM books WHERE name = ${book} AND author = ${author}`)
6666
* ```
6767
*/
68-
export function SQL(strings: string[], values: any[]): SQLStatement;
68+
export function SQL(strings: string[], ...values: any[]): SQLStatement;
6969
export default SQL;

0 commit comments

Comments
 (0)