Skip to content

Type Alias: RoleOrPermissionGuardOptions<R> ​

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

Defined in: packages/trpc/src/guards.ts:114

Type Parameters ​

Type ParameterDefault type
RSubjectRbac

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