summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-15 22:32:57 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-15 22:32:57 +0200
commit0639b6176fef86e3c467cfcdc393fa99f68086f5 (patch)
tree2b01c393fb4f3c742d3d040f6d7f724b5009e639 /util
parent:arrow_up: update mongoose types (diff)
downloadserver-0639b6176fef86e3c467cfcdc393fa99f68086f5.tar.xz
:bug: fix bundle postinstall
Diffstat (limited to 'util')
-rw-r--r--util/package.json1
-rw-r--r--util/src/util/Database.ts1
-rw-r--r--util/src/util/MongoBigInt.ts1
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 {