fix: mongo内存泄漏
This commit is contained in:
9
src/types/index.d.ts
vendored
Normal file
9
src/types/index.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { Mongoose } from 'mongoose';
|
||||
|
||||
declare global {
|
||||
interface Global {
|
||||
mongodb: Mongoose;
|
||||
}
|
||||
}
|
||||
|
||||
export type a = string;
|
||||
Reference in New Issue
Block a user