re-enabled globals definitions
This commit is contained in:
12
app/lib/global.d.ts
vendored
12
app/lib/global.d.ts
vendored
@@ -1,8 +1,8 @@
|
||||
import { MongoClient } from "mongodb";
|
||||
|
||||
// declare global {
|
||||
// namespace globalThis {
|
||||
// /** global Mongo Client used in development */
|
||||
// var _mongoClientPromise: Promise<MongoClient>
|
||||
// }
|
||||
// }
|
||||
declare global {
|
||||
namespace globalThis {
|
||||
/** global Mongo Client used in development */
|
||||
var _mongoClientPromise: Promise<MongoClient>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user