From ae98be209e3c9b92b709845449217dca8d192c6d Mon Sep 17 00:00:00 2001 From: Rik Smale <13023439+WikiRik@users.noreply.github.com> Date: Fri, 1 Mar 2024 18:12:33 +0100 Subject: [PATCH 1/2] Export ConnectionConfiguration --- src/tedious.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tedious.ts b/src/tedious.ts index 8831e4524..7e59323e4 100644 --- a/src/tedious.ts +++ b/src/tedious.ts @@ -20,6 +20,7 @@ export function connect(config: ConnectionConfiguration, connectListener?: (err? export { BulkLoad, Connection, + ConnectionConfiguration, Request, library, ConnectionError, From 7b4b75acc90a9e51be20fb49c8cb14528abd89d2 Mon Sep 17 00:00:00 2001 From: Rik Smale <13023439+WikiRik@users.noreply.github.com> Date: Fri, 1 Mar 2024 18:18:50 +0100 Subject: [PATCH 2/2] fix(types): export type only --- src/tedious.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tedious.ts b/src/tedious.ts index 7e59323e4..056a8e8e0 100644 --- a/src/tedious.ts +++ b/src/tedious.ts @@ -20,7 +20,6 @@ export function connect(config: ConnectionConfiguration, connectListener?: (err? export { BulkLoad, Connection, - ConnectionConfiguration, Request, library, ConnectionError, @@ -29,3 +28,7 @@ export { ISOLATION_LEVEL, TDS_VERSION }; + +export type { + ConnectionConfiguration +};