Skip to content

Type Alias: RoleOrPermissionGuardOptions<C> ​

ts
type RoleOrPermissionGuardOptions<C> = RouteGuardOptions<C>;

Defined in: packages/hono/src/guards.ts:89

Type Parameters ​

Type ParameterDefault type
CContext

Released under the MIT License. Inspired by spatie/laravel-permission.