Skip to content

Commit

Permalink
SNOW-1508219 (types) complete is optional
Browse files Browse the repository at this point in the history
tryig to address #860
  • Loading branch information
sfc-gh-dszmolka authored Jun 27, 2024
1 parent 8f0b0f6 commit 5244f3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ declare module 'snowflake-sdk' {

export interface StatementOption {
sqlText: string;
complete: StatementCallback;
complete?: StatementCallback;

/**
* Enable asynchronous queries by including asyncExec: true in the connection.execute method.
Expand Down Expand Up @@ -863,4 +863,4 @@ declare module 'snowflake-sdk' {
* Creates a connection pool for Snowflake connections.
*/
export function createPool(options: ConnectionOptions, poolOptions?: PoolOptions): Pool<Connection>;
}
}

0 comments on commit 5244f3a

Please sign in to comment.