From b30eeef89cbb7c03aa89371ad15c96ef23fe4ba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Moska=C5=82a?= <91079590+moskalakamil@users.noreply.github.com> Date: Thu, 22 Jan 2026 00:20:06 +0100 Subject: [PATCH] chore: resolve lint & tsc errors (#4823) --- docs/src/components/Homepage/Hero/Hero.tsx | 30 +++++++++---------- docs/tsconfig.json | 5 +++- .../src/core/VideoPlayerEvents.ts | 2 +- 3 files changed, 20 insertions(+), 17 deletions(-) diff --git a/docs/src/components/Homepage/Hero/Hero.tsx b/docs/src/components/Homepage/Hero/Hero.tsx index 173821ed..bd58297f 100644 --- a/docs/src/components/Homepage/Hero/Hero.tsx +++ b/docs/src/components/Homepage/Hero/Hero.tsx @@ -16,22 +16,11 @@ const STATS = [ { value: 'TWG', label: 'Company Backed' }, ]; -const containerVariants: Variants = { - hidden: {}, - visible: { - transition: { - staggerChildren: 0.1, - delayChildren: 0.1, - }, - }, -}; - export const itemVariants: Variants = { hidden: { opacity: 0, y: 20 }, visible: { opacity: 1, y: 0, - transition: { duration: 0.5, ease: 'easeOut' }, }, }; @@ -40,7 +29,6 @@ const logoVariants: Variants = { visible: { opacity: 1, scale: 1, - transition: { duration: 0.5, ease: 'easeOut' }, }, }; @@ -66,9 +54,12 @@ export function Hero() {
v7 Beta Available @@ -77,13 +68,22 @@ export function Hero() { alt="TheWidlarzGroup logo" className={styles.logo} variants={logoVariants} + transition={{ duration: 0.5, ease: 'easeOut' }} /> - + Video for React Native - + The most feature-rich video player for React Native. Multi-platform support with DRM, subtitles, and audio tracks. diff --git a/docs/tsconfig.json b/docs/tsconfig.json index 920d7a65..802e00b6 100644 --- a/docs/tsconfig.json +++ b/docs/tsconfig.json @@ -1,6 +1,9 @@ { // This file is not used in compilation. It is here just for a nice editor experience. - "extends": "@docusaurus/tsconfig", + "extends": [ + "@docusaurus/tsconfig", + "../config/tsconfig.json" + ], "compilerOptions": { "baseUrl": "." }, diff --git a/packages/react-native-video/src/core/VideoPlayerEvents.ts b/packages/react-native-video/src/core/VideoPlayerEvents.ts index f1a73206..2ed4c0e5 100644 --- a/packages/react-native-video/src/core/VideoPlayerEvents.ts +++ b/packages/react-native-video/src/core/VideoPlayerEvents.ts @@ -11,7 +11,7 @@ import { export class VideoPlayerEvents { protected eventEmitter: VideoPlayerEventEmitter; protected jsEventListeners: Partial< - Record void>> + Record void>> > = {}; protected readonly supportedEvents: (keyof PlayerEvents)[] =