Browse Source

Add as const (#2677)

pull/2682/head
Thomas Kaul 1 year ago
committed by GitHub
parent
commit
f28b13604a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      libs/common/src/lib/permissions.ts

2
libs/common/src/lib/permissions.ts

@ -35,7 +35,7 @@ export const permissions = {
updateTag: 'updateTag',
updateUserSettings: 'updateUserSettings',
updateViewMode: 'updateViewMode'
};
} as const;
export function getPermissions(aRole: Role): string[] {
switch (aRole) {

Loading…
Cancel
Save