UNPKG

react-permissions-dynamic

Version:
9 lines (8 loc) 407 B
import type { ProgressPermissionsRefType } from '../types'; declare type GetActionsToCheckParams<T extends string = string> = { actions: T[]; checkedPermissions: T[]; progressPermissionsRef: ProgressPermissionsRefType<T>; }; export declare const getActionsToCheck: <T extends string = string>({ actions, checkedPermissions, progressPermissionsRef, }: GetActionsToCheckParams) => T[]; export {};