File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 11declare namespace odbc {
22
3- class ColumnDefinition {
3+ interface ColumnDefinition {
44 name : string ;
55 dataType : number ;
66 dataTypeName : string ;
@@ -9,25 +9,25 @@ declare namespace odbc {
99 nullable : boolean ;
1010 }
1111
12- class Result < T > extends Array < T > {
12+ interface Result < T > extends Array < T > {
1313 count : number ;
1414 columns : Array < ColumnDefinition > ;
1515 statement : string ;
1616 parameters : Array < number | string > ;
1717 return : number ;
1818 }
1919
20- class OdbcError {
20+ interface OdbcError {
2121 message : string ;
2222 code : number ;
2323 state : string ;
2424 }
2525
26- class NodeOdbcError extends Error {
26+ interface NodeOdbcError extends Error {
2727 odbcErrors : Array < OdbcError > ;
2828 }
2929
30- class Statement {
30+ interface Statement {
3131
3232 ////////////////////////////////////////////////////////////////////////////
3333 // Callbacks ///////////////////////////////////////////////////////////
@@ -81,7 +81,7 @@ declare namespace odbc {
8181 cursor : boolean | string
8282 }
8383
84- class Connection {
84+ interface Connection {
8585
8686 ////////////////////////////////////////////////////////////////////////////
8787 // Callbacks ///////////////////////////////////////////////////////////
@@ -145,7 +145,7 @@ declare namespace odbc {
145145 close ( ) : Promise < void > ;
146146 }
147147
148- class Pool {
148+ interface Pool {
149149
150150 ////////////////////////////////////////////////////////////////////////////
151151 // Callbacks ///////////////////////////////////////////////////////////
@@ -173,7 +173,7 @@ declare namespace odbc {
173173 close ( ) : Promise < void > ;
174174 }
175175
176- class Cursor {
176+ interface Cursor {
177177 noData : boolean
178178
179179 ////////////////////////////////////////////////////////////////////////////
You can’t perform that action at this time.
0 commit comments