diff --git a/typescript-client/sqlUtils.d.ts b/typescript-client/sqlUtils.d.ts index a15a6aa0ab..012ebcb38a 100644 --- a/typescript-client/sqlUtils.d.ts +++ b/typescript-client/sqlUtils.d.ts @@ -36,9 +36,7 @@ export type SqlStatement = { args: Record; - fetch< - ResultCollectionT extends ResultCollection = "last_statement_first_row" - >( + fetch( params?: FetchParams // The union is for auto-completion ): Promise>; diff --git a/typescript-client/sqlUtils.ts b/typescript-client/sqlUtils.ts index c852960500..99aeeb59cc 100644 --- a/typescript-client/sqlUtils.ts +++ b/typescript-client/sqlUtils.ts @@ -38,9 +38,7 @@ export type SqlStatement = { args: Record; - fetch< - ResultCollectionT extends ResultCollection = "last_statement_first_row" - >( + fetch( params?: FetchParams // The union is for auto-completion ): Promise>;