From e712bc7faa8a8bf05669bcf3ee718d40c05bf101 Mon Sep 17 00:00:00 2001 From: iapyang Date: Fri, 5 Mar 2021 16:17:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/router/router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/router/router.ts b/typescript/router/router.ts index aac7ce2fb..857616dd6 100644 --- a/typescript/router/router.ts +++ b/typescript/router/router.ts @@ -1,5 +1,5 @@ export declare class Router { - constructor(op: {[key: string]: string}); + constructor(op: {[key: string]: any}); route(route: string, callback: Function): this; route(route: string, name: string, callback?: Function): this;