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 { declare global {
let redis: RedisClientType var redis: RedisClientType
let Bot: typeof Yunzai.prototype var Bot: typeof Yunzai.prototype
let segment: typeof se var segment: typeof se
let plugin: typeof p.prototype var plugin: typeof p.prototype
let logger: any var logger: any
} }