authz: switch to unknown[] in PermissionRule type parameter
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
@@ -29,7 +29,11 @@ import type { PermissionCriteria } from '@backstage/permission-common';
|
||||
* check was performed.
|
||||
* @public
|
||||
*/
|
||||
export type PermissionRule<TResource, TQuery, TParams extends any[] = any> = {
|
||||
export type PermissionRule<
|
||||
TResource,
|
||||
TQuery,
|
||||
TParams extends unknown[] = unknown[],
|
||||
> = {
|
||||
name: string;
|
||||
description: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user