diff --git a/frontend/webcomponent/src/models/command.model.ts b/frontend/webcomponent/src/models/command.model.ts index b4393f0..9019a8b 100644 --- a/frontend/webcomponent/src/models/command.model.ts +++ b/frontend/webcomponent/src/models/command.model.ts @@ -1,7 +1,7 @@ /** * All available commands that can be sent to the WebComponent. */ -export enum WebComponentCommand { +export const enum WebComponentCommand { /** * Initializes the WebComponent with the given configuration. * @private diff --git a/frontend/webcomponent/src/models/event.model.ts b/frontend/webcomponent/src/models/event.model.ts index 8281fdc..72f416c 100644 --- a/frontend/webcomponent/src/models/event.model.ts +++ b/frontend/webcomponent/src/models/event.model.ts @@ -2,7 +2,7 @@ * All available events that can be emitted by the WebComponent. * @category Communication */ -export enum WebComponentEvent { +export const enum WebComponentEvent { /** * Event emitted when the local participant joins the room. */