Skip to content

Commit ece862c

Browse files
authored
Explicitly initialize enum field with constant value (#1949)
1 parent 4f82133 commit ece862c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/room/RTCEngine.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ enum PCState {
122122
export enum DataChannelKind {
123123
RELIABLE = DataPacket_Kind.RELIABLE,
124124
LOSSY = DataPacket_Kind.LOSSY,
125-
DATA_TRACK_LOSSY,
125+
DATA_TRACK_LOSSY = 2,
126126
}
127127

128128
/** @internal */

0 commit comments

Comments
 (0)