mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-29 09:44:47 +00:00
feat: 类型声明
This commit is contained in:
7
src/types/index.d.ts
vendored
7
src/types/index.d.ts
vendored
@@ -1,9 +1,6 @@
|
||||
import type { Mongoose } from 'mongoose';
|
||||
|
||||
declare global {
|
||||
namespace NodeJS {
|
||||
interface Global {
|
||||
mongodb: Mongoose | string;
|
||||
}
|
||||
}
|
||||
var mongodb: Mongoose | string | null;
|
||||
}
|
||||
export {};
|
||||
|
Reference in New Issue
Block a user