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

Commit

Permalink
Remove ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
incubo4u committed Nov 30, 2023
1 parent 4716462 commit bf96e38
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@testing-library/react-hooks": "^8.0.1",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.11",
"@types/react": "~18.2.14",
"@types/react": "18.2.0",
"babel-jest": "^29.5.0",
"babel-plugin-module-resolver": "^5.0.0",
"jest": "^29.5.0",
Expand Down
1 change: 0 additions & 1 deletion example/src/components/RoomParticipant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ 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
3 changes: 1 addition & 2 deletions example/src/components/TextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ export const TextInput = ({
onBlur={offFocus}
editable={editable}
onChangeText={onChangeText}
// @ts-ignore
colorCursor={TextColors.darkText}
cursorColor={TextColors.darkText}
selectionColor={TextColors.additionalLightText}
/>
{!isEmpty(sublabel) ? (
Expand Down
1 change: 0 additions & 1 deletion example/src/screens/Preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ export const Preview = ({ navigation, route }: Props) => {

<View style={styles.cameraPreview}>
{isCameraOn ? (
// @ts-ignore
<Membrane.VideoPreviewView
style={styles.membraneVideoPreview}
mirrorVideo
Expand Down
11 changes: 10 additions & 1 deletion example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2508,7 +2508,7 @@
"@react-native/virtualized-lists" "^0.72.4"
"@types/react" "*"

"@types/react@*", "@types/react@~18.2.14":
"@types/react@*":
version "18.2.38"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.38.tgz#3605ca41d3daff2c434e0b98d79a2469d4c2dd52"
integrity sha512-cBBXHzuPtQK6wNthuVMV6IjHAFkdl/FOPFIlkd81/Cd1+IqkHu/A+w4g43kaQQoYHik/ruaQBDL72HyCy1vuMw==
Expand All @@ -2517,6 +2517,15 @@
"@types/scheduler" "*"
csstype "^3.0.2"

"@types/react@18.2.0":
version "18.2.0"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.0.tgz#15cda145354accfc09a18d2f2305f9fc099ada21"
integrity sha512-0FLj93y5USLHdnhIhABk83rm8XEGA7kH3cr+YUlvxoUGp1xNt/DINUMvqPxLyOQMzLmZe8i4RTHbvb8MC7NmrA==
dependencies:
"@types/prop-types" "*"
"@types/scheduler" "*"
csstype "^3.0.2"

"@types/scheduler@*":
version "0.16.8"
resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.8.tgz#ce5ace04cfeabe7ef87c0091e50752e36707deff"
Expand Down

0 comments on commit bf96e38

Please sign in to comment.