From 302e7a0142ef71dad1a1f47d2cfe7e1079cfaf3a Mon Sep 17 00:00:00 2001 From: izumiiAoba <39220621+izumiiAoba@users.noreply.github.com> Date: Mon, 14 Aug 2023 10:27:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(plugin-access):=20=E4=BF=AE=E5=A4=8D=20useA?= =?UTF-8?q?ccess=20=E7=B1=BB=E5=9E=8B=E5=AE=9A=E4=B9=89=20(#206)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fes-plugin-access/types.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fes-plugin-access/types.d.ts b/packages/fes-plugin-access/types.d.ts index 57f5e39f..4e9cfb99 100644 --- a/packages/fes-plugin-access/types.d.ts +++ b/packages/fes-plugin-access/types.d.ts @@ -9,7 +9,7 @@ export const access: { getAccess(): string[]; }; -export function useAccess(accessId: Array): Ref; +export function useAccess(accessId: string | number): Ref; interface CustomNavigationGuardOption { router: Router;