diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-15 22:32:57 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-15 22:32:57 +0200 |
commit | 04355a6661426eaca36200c123c242a64f3540cc (patch) | |
tree | 82a6adb95b2d511fc332abdc0b09950982c90f68 /util | |
parent | :arrow_up: update mongoose types (diff) | |
download | server-04355a6661426eaca36200c123c242a64f3540cc.tar.xz |
:bug: fix bundle postinstall
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 { |