From bf96e38ae7676a1492cb193b3d7cd0127a183f40 Mon Sep 17 00:00:00 2001 From: Mikolaj Date: Thu, 30 Nov 2023 15:18:19 +0100 Subject: [PATCH] Remove ts-ignore --- example/package.json | 2 +- example/src/components/RoomParticipant.tsx | 1 - example/src/components/TextInput.tsx | 3 +-- example/src/screens/Preview.tsx | 1 - example/yarn.lock | 11 ++++++++++- 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/example/package.json b/example/package.json index 715ede21..cec66598 100644 --- a/example/package.json +++ b/example/package.json @@ -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", diff --git a/example/src/components/RoomParticipant.tsx b/example/src/components/RoomParticipant.tsx index d586fa99..b80fda4b 100644 --- a/example/src/components/RoomParticipant.tsx +++ b/example/src/components/RoomParticipant.tsx @@ -144,7 +144,6 @@ export const RoomParticipant = ({ {participantHasVideo() ? ( - // @ts-ignore {!isEmpty(sublabel) ? ( diff --git a/example/src/screens/Preview.tsx b/example/src/screens/Preview.tsx index ac8f86ef..b8cd2206 100644 --- a/example/src/screens/Preview.tsx +++ b/example/src/screens/Preview.tsx @@ -103,7 +103,6 @@ export const Preview = ({ navigation, route }: Props) => { {isCameraOn ? ( - // @ts-ignore