Miao-Yunzai/src/global.d.ts

15 lines
346 B
TypeScript
Raw Normal View History

2024-06-09 01:00:07 +08:00
import { segment as se } from 'icqq'
import { RedisClientType } from 'redis'
import { Yunzai } from './bot.js'
import { plugin as p } from './core/index.js'
2024-06-09 12:31:15 +08:00
/**
*
*/
2024-06-09 01:00:07 +08:00
declare global {
let redis: RedisClientType
let Bot: typeof Yunzai.prototype
let segment: typeof se
let plugin: typeof p.prototype
2024-06-09 12:31:15 +08:00
let logger: any
2024-06-09 12:31:39 +08:00
}