You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The odbc object has the constants. However, the odbc TypeScript types do not contain the constants. This results in the error Property 'SQL_TXN_SERIALIZABLE' does not exist on type 'typeof odbc'. The constants are not defined in the odbc.d.ts file, which makes calling setIsolationLevel in a typesafe manner difficult.
The text was updated successfully, but these errors were encountered:
The documentation says that the transaction isolation level constants "can be accessed through the base exported package":
The documentation has an example of
When I do
I get this output:
The
odbc
object has the constants. However, theodbc
TypeScript types do not contain the constants. This results in the errorProperty 'SQL_TXN_SERIALIZABLE' does not exist on type 'typeof odbc'.
The constants are not defined in the odbc.d.ts file, which makes callingsetIsolationLevel
in a typesafe manner difficult.The text was updated successfully, but these errors were encountered: