diff --git a/app/lib/global.d.ts b/app/lib/global.d.ts index 9e9c43b..52c4786 100644 --- a/app/lib/global.d.ts +++ b/app/lib/global.d.ts @@ -1,8 +1,8 @@ import { MongoClient } from "mongodb"; -// declare global { -// namespace globalThis { -// /** global Mongo Client used in development */ -// var _mongoClientPromise: Promise -// } -// } \ No newline at end of file +declare global { + namespace globalThis { + /** global Mongo Client used in development */ + var _mongoClientPromise: Promise + } +} \ No newline at end of file