Type Alias: GuardName<T>
ts
type GuardName<T> = T extends object ? keyof Gs & string : string;Defined in: packages/core/src/types.ts:99
The guards typed in T (the keys of T['guards']), or string when T has no guards: then any guard is accepted and every guard has the same names.
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends RbacTypeConfig | DefaultRbacTypes |
