frontend: Change enums to const enums for WebComponent commands and events
This commit is contained in:
parent
326ee174c6
commit
704bb4d9d5
@ -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
|
||||
|
||||
@ -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.
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user