Skip to content

Commit

Permalink
fix: old imports
Browse files Browse the repository at this point in the history
  • Loading branch information
xhyrom committed Jan 20, 2022
1 parent aa835d2 commit 75d8273
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/inhibitors/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { Inhibitor } from './Inhibitor';
import { MemberPermissions } from './MemberPermissions';
import { MemberRoles } from './MemberRoles';

export default Inhibitor;
export * from './Inhibitor';
Expand All @@ -17,10 +19,11 @@ export * from './MemberRoles';
* @description Use MemberPermissions instead of UserPermissions
* @deprecated
*/
export * as UserPermissions from './MemberPermissions';
export const UserPermissions = MemberPermissions;
//export * as UserPermissions from './MemberPermissions';

/**
* @description Use MemberRoles instead of UserRoles
* @deprecated
*/
export * as UserRoles from './MemberRoles';
export const UserRoles = MemberRoles;

0 comments on commit 75d8273

Please sign in to comment.