From 15dc7362af9e35f13d3fd4dc3c175cb2554501da Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Sat, 29 Apr 2023 22:27:28 +0300 Subject: [PATCH] typings fix --- src/MongoDB.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/MongoDB.ts b/src/MongoDB.ts index 7b3a53c..3bf9f21 100644 --- a/src/MongoDB.ts +++ b/src/MongoDB.ts @@ -3,13 +3,13 @@ import { MongoClient, MongoClientOptions, Db, Document, WithId, ObjectId } from import { IServer, ILogger, LoggerClientOptions } from "./interfaces/index.js"; type Credentials = { - URI: string, - user: string, - password: string, - host: string, - port: number, + URI?: string, + user?: string, + password?: string, + host?: string, + port?: number, database: string, - authDb: string + authDb?: string } export type MongoOptions = {