authz: update unused type params in conditionFor to unknown
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
import { PermissionRule } from '../types';
|
||||
|
||||
export const conditionFor =
|
||||
<TParams extends any[]>(rule: PermissionRule<any, any, TParams>) =>
|
||||
<TParams extends any[]>(rule: PermissionRule<unknown, unknown, TParams>) =>
|
||||
(...params: TParams) => ({
|
||||
rule: rule.name,
|
||||
params,
|
||||
|
||||
Reference in New Issue
Block a user