mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-06 00:02:13 +00:00
nit
This commit is contained in:
Vendored
+1
-3
@@ -36,9 +36,7 @@ export type SqlStatement = {
|
||||
|
||||
args: Record<string, any>;
|
||||
|
||||
fetch<
|
||||
ResultCollectionT extends ResultCollection = "last_statement_first_row"
|
||||
>(
|
||||
fetch<ResultCollectionT extends ResultCollection = "last_statement_all_rows">(
|
||||
params?: FetchParams<ResultCollectionT | ResultCollection> // The union is for auto-completion
|
||||
): Promise<SqlResult<ResultCollectionT>>;
|
||||
|
||||
|
||||
@@ -38,9 +38,7 @@ export type SqlStatement = {
|
||||
|
||||
args: Record<string, any>;
|
||||
|
||||
fetch<
|
||||
ResultCollectionT extends ResultCollection = "last_statement_first_row"
|
||||
>(
|
||||
fetch<ResultCollectionT extends ResultCollection = "last_statement_all_rows">(
|
||||
params?: FetchParams<ResultCollectionT | ResultCollection> // The union is for auto-completion
|
||||
): Promise<SqlResult<ResultCollectionT>>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user