From 6def0ee4a98618643db2f01dd460a59def24589b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Dere=C5=BEi=C4=87?= Date: Sat, 6 Jan 2024 10:59:07 +0100 Subject: [PATCH] re-enabled globals definitions --- app/lib/global.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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