Add as const (#2677)

pull/2682/head
Thomas Kaul 1 year ago committed by GitHub
parent d827858d0b
commit f28b13604a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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