src/types/router.d.ts @@ -16,6 +16,7 @@ roles?: string[]; alwaysShow?: boolean; query?: string; parentPath?: string; } interface _RouteLocationBase {