Skip to content

Commit 061240a

Browse files
committed
better typing
1 parent 75d61f3 commit 061240a

File tree

1 file changed

+2
-1
lines changed
  • src/components/tables/RowActions/AccessGrants

1 file changed

+2
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { AccessGrantRemovalDescription } from 'hooks/useAccessGrantRemovalDescriptions';
22
import { ReactNode } from 'react';
3+
import { Capability } from 'types';
34
import { RowConfirmation } from '../types';
45

56
export interface AccessGrantRowConfirmation extends RowConfirmation<ReactNode> {
@@ -8,6 +9,6 @@ export interface AccessGrantRowConfirmation extends RowConfirmation<ReactNode> {
89

910
export interface GrantWhatIsChangingProps {
1011
identifier: string;
11-
capability: string;
12+
capability: Capability;
1213
grantScope: string;
1314
}

0 commit comments

Comments
 (0)