Function: RequirePolicies
▸ RequirePolicies(...handlers): <TFunction, Y>(target: object | TFunction, propertyKey?: string | symbol, descriptor?: TypedPropertyDescriptor<Y>) => void
Parameters
| Name | Type |
|---|---|
...handlers | PolicyHandler[] |
Returns
fn
▸ <TFunction, Y>(target, propertyKey?, descriptor?): void
Type parameters
| Name | Type |
|---|---|
TFunction | extends Function |
Y | Y |
Parameters
| Name | Type |
|---|---|
target | object | TFunction |
propertyKey? | string | symbol |
descriptor? | TypedPropertyDescriptor<Y> |
Returns
void