Skip to content

Commit ecb260b

Browse files
committed
Add connected and autocomplete types
This commit adds types to `odbc.d.ts` for the `connected` and `autocomplete` getter methods of the `Connection` object. Signed-off-by: BrendanC23 <4711227+BrendanC23@users.noreply.github.com>
1 parent f37f4c2 commit ecb260b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/odbc.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ declare namespace odbc {
143143
rollback(): Promise<void>;
144144

145145
close(): Promise<void>;
146+
147+
connected(): boolean;
148+
149+
autocommit(): boolean;
146150
}
147151

148152
class Pool {

0 commit comments

Comments
 (0)