fix: 修复全局变量声明失效
This commit is contained in:
parent
2d123470d0
commit
d2a6da4461
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue