mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-30 02:12:38 +00:00
feat: 错误提示
This commit is contained in:
8
src/types/index.d.ts
vendored
8
src/types/index.d.ts
vendored
@@ -1,9 +1,9 @@
|
||||
import type { Mongoose } from 'mongoose';
|
||||
|
||||
declare global {
|
||||
interface Global {
|
||||
mongodb: Mongoose;
|
||||
namespace NodeJS {
|
||||
interface Global {
|
||||
mongodb: Mongoose | string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export type a = string;
|
||||
|
Reference in New Issue
Block a user