frontend: Change enums to const enums for WebComponent commands and events

This commit is contained in:
Carlos Santos 2025-05-08 12:04:56 +02:00
parent 326ee174c6
commit 704bb4d9d5
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
/** /**
* All available commands that can be sent to the WebComponent. * All available commands that can be sent to the WebComponent.
*/ */
export enum WebComponentCommand { export const enum WebComponentCommand {
/** /**
* Initializes the WebComponent with the given configuration. * Initializes the WebComponent with the given configuration.
* @private * @private

View File

@ -2,7 +2,7 @@
* All available events that can be emitted by the WebComponent. * All available events that can be emitted by the WebComponent.
* @category Communication * @category Communication
*/ */
export enum WebComponentEvent { export const enum WebComponentEvent {
/** /**
* Event emitted when the local participant joins the room. * Event emitted when the local participant joins the room.
*/ */