From d2a6da4461546fd075b605ca2746ad196c8e8cf4 Mon Sep 17 00:00:00 2001 From: ningmengchongshui <916415899@qq.com> Date: Sun, 9 Jun 2024 12:33:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=85=A8=E5=B1=80?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E5=A3=B0=E6=98=8E=E5=A4=B1=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/global.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/global.d.ts b/src/global.d.ts index 59dd693..cda6d34 100644 --- a/src/global.d.ts +++ b/src/global.d.ts @@ -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 }