From 1074b56bdedbfd20b22cec4fba1f44e21655e269 Mon Sep 17 00:00:00 2001 From: yutent Date: Tue, 17 Dec 2024 16:11:39 +0800 Subject: [PATCH] update --- index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 5226e22..2571eda 100644 --- a/index.d.ts +++ b/index.d.ts @@ -13,11 +13,11 @@ declare module '@gm5/core' { class Five { get server(): Server - set(obj: Config): this + set(obj: object): this get(key: string): any - use(fn: Middleware): this + use(middleware: Middleware | Installable, args?: any): this install(module: Installable, args: any): this