Skip to content

Commit

Permalink
fix: typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
thucpn committed Dec 19, 2024
1 parent e6057a9 commit d76b60f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export class AzureCosmosDBMongoDBVectorStore extends BaseVectorStore {
return this.mongodbClient;
}

async ensureCollection() {
async ensureCollection(): Promise<Collection> {
if (!this.collection) {
const collection = await this.mongodbClient
.db(this.dbName)
Expand Down

0 comments on commit d76b60f

Please sign in to comment.