fix: 修复全局变量声明失效

This commit is contained in:
ningmengchongshui 2024-06-09 12:33:03 +08:00
parent 2d123470d0
commit d2a6da4461
1 changed files with 5 additions and 5 deletions

10
src/global.d.ts vendored
View File

@ -6,9 +6,9 @@ import { plugin as p } from './core/index.js'
*
*/
declare global {
let redis: RedisClientType
let Bot: typeof Yunzai.prototype
let segment: typeof se
let plugin: typeof p.prototype
let logger: any
var redis: RedisClientType
var Bot: typeof Yunzai.prototype
var segment: typeof se
var plugin: typeof p.prototype
var logger: any
}