File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments