Fix typings & re-export

This commit is contained in:
Erik 2023-07-15 02:10:56 +03:00
parent 126c453c6c
commit d19aec3371
Signed by: Navy.gif
GPG Key ID: 2532FBBB61C65A68
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
export { MessageBroker, BrokerOptions } from './src/MessageBroker.js'; export { MessageBroker, BrokerOptions } from './src/MessageBroker.js';
export { MariaDB, MariaOptions } from './src/MariaDB.js'; export { MariaDB, MariaOptions } from './src/MariaDB.js';
export { MongoDB, MongoOptions } from './src/MongoDB.js'; export { MongoDB, MongoOptions } from './src/MongoDB.js';
export { ObjectId, Document, DeleteResult, Collection, Filter } from 'mongodb'; export { ObjectId, Document, DeleteResult, Collection, Filter, UpdateFilter } from 'mongodb';

View File

@ -36,7 +36,7 @@ type MariaError = {
sqlMessage:string sqlMessage:string
} & Error } & Error
type Values = (string | number | (string | number)[] | (string | number)[][])[] type Values = ((string | number | null | boolean) | (string | number | null | boolean)[] | (string | number | null | boolean)[][])[];
type QueryOptions = { type QueryOptions = {
node?: string, node?: string,
timeout?: number, timeout?: number,