Fix typings & re-export
This commit is contained in:
parent
126c453c6c
commit
d19aec3371
2
index.ts
2
index.ts
@ -1,4 +1,4 @@
|
||||
export { MessageBroker, BrokerOptions } from './src/MessageBroker.js';
|
||||
export { MariaDB, MariaOptions } from './src/MariaDB.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';
|
@ -36,7 +36,7 @@ type MariaError = {
|
||||
sqlMessage:string
|
||||
} & 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 = {
|
||||
node?: string,
|
||||
timeout?: number,
|
||||
|
Loading…
Reference in New Issue
Block a user