Skip to content

Commit

Permalink
Fix typescript build error
Browse files Browse the repository at this point in the history
  • Loading branch information
mmasaki committed Jul 24, 2022
1 parent d510a4d commit 90da924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataConsumer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export class DataConsumer extends EnhancedEventEmitter<DataConsumerEvents>
*/
get binaryType(): BinaryType
{
return this._dataChannel.binaryType;
return this._dataChannel.binaryType as BinaryType;
}

/**
Expand Down

0 comments on commit 90da924

Please sign in to comment.