Skip to content

fix: Fix types for ReactVideoSource to also allow require(..) sources #788

fix: Fix types for ReactVideoSource to also allow require(..) sources

fix: Fix types for ReactVideoSource to also allow require(..) sources #788

Triggered via pull request November 16, 2023 16:36
Status Failure
Total duration 44s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build: src/Video.tsx#L127
Property 'uri' does not exist on type 'ReactVideoSource'.
build: src/Video.tsx#L146
Property 'shouldCache' does not exist on type 'ReactVideoSource'.
build: src/Video.tsx#L147
Property 'type' does not exist on type 'ReactVideoSource'.
build: src/Video.tsx#L148
Property 'mainVer' does not exist on type 'ReactVideoSource'.
build: src/Video.tsx#L149
Property 'patchVer' does not exist on type 'ReactVideoSource'.
build: src/Video.tsx#L150
Property 'headers' does not exist on type 'ReactVideoSource'.
build: src/Video.tsx#L151
Property 'startTime' does not exist on type 'ReactVideoSource'.
build: src/Video.tsx#L152
Property 'endTime' does not exist on type 'ReactVideoSource'.
build: src/Video.tsx#L153
Property 'title' does not exist on type 'ReactVideoSource'.
build: src/Video.tsx#L154
Property 'subtitle' does not exist on type 'ReactVideoSource'.