Skip to content

Commit 5ce95dd

Browse files
committed
fixing build errors
1 parent 5b96fca commit 5ce95dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/RTC/RTC.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -818,7 +818,7 @@ export default class RTC extends Listenable {
818818
* @throws NetworkError or InvalidStateError or Error if the operation
819819
* fails or there is no data channel created.
820820
*/
821-
public sendChannelMessage(to: string, payload: Record<string, unknown>): void {
821+
public sendChannelMessage(to: string, payload: any): void {
822822
if (this._channel) {
823823
this._channel.sendMessage(to, payload);
824824
} else {
@@ -831,7 +831,7 @@ export default class RTC extends Listenable {
831831
* @param {Object} payload The payload of the message.
832832
* @throws NetworkError/InvalidStateError/Error if the operation fails or if there is no data channel created.
833833
*/
834-
public sendEndpointStatsMessage(payload: Record<string, unknown>): void {
834+
public sendEndpointStatsMessage(payload: any): void {
835835
if (this?._channel.isOpen()) {
836836
this._channel.sendEndpointStatsMessage(payload);
837837
}

0 commit comments

Comments
 (0)