Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
Ass partial types fix
Browse files Browse the repository at this point in the history
  • Loading branch information
incubo4u committed Nov 27, 2023
1 parent 7c6da02 commit 89169aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions example/src/components/RoomParticipant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ export const RoomParticipant = ({
<View style={styles.fill}>
<Pressable onPress={triggerShowingPinButton} style={styles.fill}>
{participantHasVideo() ? (
// @ts-ignore
<Membrane.VideoRendererView
trackId={videoTrack!.id}
style={getStyleForVideoView()}
Expand Down
1 change: 1 addition & 0 deletions example/src/screens/Preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export const Preview = ({ navigation, route }: Props) => {

<View style={styles.cameraPreview}>
{isCameraOn ? (
// @ts-ignore
<Membrane.VideoPreviewView
style={styles.membraneVideoPreview}
mirrorVideo
Expand Down
2 changes: 1 addition & 1 deletion src/MembraneWebRTC.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ export type EndpointsUpdateEvent<
VideoTrackMetadataType extends Metadata,
AudioTrackMetadataType extends Metadata
> = {
endpoints: Endpoint<
EndpointsUpdate: Endpoint<
MetadataType,
VideoTrackMetadataType,
AudioTrackMetadataType
Expand Down

0 comments on commit 89169aa

Please sign in to comment.