From 410e24fe250991db8d8867c5601c431c48ef3152 Mon Sep 17 00:00:00 2001 From: David Szmolka <69192509+sfc-gh-dszmolka@users.noreply.github.com> Date: Thu, 27 Jun 2024 13:26:03 +0200 Subject: [PATCH] SNOW-1508219 (types) `complete` is optional (#861) tryig to address https://github.com/snowflakedb/snowflake-connector-nodejs/issues/860 --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 3ed7caa5f..ec4807540 100644 --- a/index.d.ts +++ b/index.d.ts @@ -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. @@ -863,4 +863,4 @@ declare module 'snowflake-sdk' { * Creates a connection pool for Snowflake connections. */ export function createPool(options: ConnectionOptions, poolOptions?: PoolOptions): Pool; -} \ No newline at end of file +}