From fba87e27c1cb6c679fff0d2c50be230f7e0c3e56 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 28 Dec 2021 15:30:36 +0100 Subject: Resolve enums at compile time --- shared/models/plugins/plugin.type.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared/models/plugins') diff --git a/shared/models/plugins/plugin.type.ts b/shared/models/plugins/plugin.type.ts index b6766821a..016219ceb 100644 --- a/shared/models/plugins/plugin.type.ts +++ b/shared/models/plugins/plugin.type.ts @@ -1,4 +1,4 @@ -export enum PluginType { +export const enum PluginType { PLUGIN = 1, THEME = 2 } -- cgit v1.2.3