datastax / astra-db-ts

Typescript client for Astra DB Vector
https://npmjs.com/@datastax/astra-db-ts
Apache License 2.0
13 stars 6 forks source link

Client using support + minor typing bug fix #31

Closed toptobes closed 4 months ago

toptobes commented 4 months ago

Added support for doing await using client = new DataAPIClient(...) if Symbol.asyncDispose is in scope

Also realized that because I wasn't exporting a couple of utility types, typescript + webstorm were silently hiding a few typing errors (didn't realize until I turned off skipLibCheck)