From f28b13604a63ef195cf8d1153e1f3c93624afb23 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Tue, 21 Nov 2023 20:12:59 +0100 Subject: [PATCH] Add as const (#2677) --- libs/common/src/lib/permissions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/common/src/lib/permissions.ts b/libs/common/src/lib/permissions.ts index a5500bee6..362d15b9c 100644 --- a/libs/common/src/lib/permissions.ts +++ b/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) {