diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/package.json | 1 | ||||
-rw-r--r-- | util/src/util/Database.ts | 1 | ||||
-rw-r--r-- | util/src/util/MongoBigInt.ts | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/util/package.json b/util/package.json index dbdcfe19..69d33844 100644 --- a/util/package.json +++ b/util/package.json @@ -29,7 +29,6 @@ "@types/amqplib": "^0.8.1", "@types/jsonwebtoken": "^8.5.0", "@types/mongodb": "^3.6.9", - "@types/mongoose": "^5.10.5", "@types/mongoose-autopopulate": "^0.10.1", "@types/mongoose-lean-virtuals": "^0.5.1", "@types/node": "^14.17.9", diff --git a/util/src/util/Database.ts b/util/src/util/Database.ts index 233152f1..2e04e0ff 100644 --- a/util/src/util/Database.ts +++ b/util/src/util/Database.ts @@ -1,3 +1,4 @@ +// @ts-nocheck import "./MongoBigInt"; import mongoose, { Collection, Connection, LeanDocument } from "mongoose"; import { ChangeStream, ChangeEvent, Long } from "mongodb"; diff --git a/util/src/util/MongoBigInt.ts b/util/src/util/MongoBigInt.ts index 5148b742..2ae8b91c 100644 --- a/util/src/util/MongoBigInt.ts +++ b/util/src/util/MongoBigInt.ts @@ -1,3 +1,4 @@ +// @ts-nocheck import mongoose from "mongoose"; class LongSchema extends mongoose.SchemaType { |