Skip to content

fix: prevents crash from occurring when using the selected video track with resolution type #157

fix: prevents crash from occurring when using the selected video track with resolution type

fix: prevents crash from occurring when using the selected video track with resolution type #157

Triggered via pull request April 7, 2024 13:30
Status Failure
Total duration 25s
Artifacts

check-js.yml

on: pull_request
Check TS (tsc)
11s
Check TS (tsc)
Lint JS (eslint, prettier)
16s
Lint JS (eslint, prettier)
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
Check TS (tsc): src/Video.tsx#L540
Type '{ type: SelectedVideoTrackType; value: string | undefined; } | undefined' is not assignable to type 'Readonly<{ type?: SelectedVideoTrackType; value?: number | undefined; }> | undefined'.
Check TS (tsc): src/Video.tsx#L540
Type '{ type: SelectedVideoTrackType; value: string | undefined; } | undefined' is not assignable to type 'Readonly<{ type?: SelectedVideoTrackType; value?: number | undefined; }> | undefined'.
Check TS (tsc): src/Video.tsx#L540
[tsc] reported by reviewdog 🐶 Type '{ type: SelectedVideoTrackType; value: string | undefined; } | undefined' is not assignable to type 'Readonly<{ type?: SelectedVideoTrackType; value?: number | undefined; }> | undefined'. Raw Output: src/Video.tsx(540,11): error TS2322: Type '{ type: SelectedVideoTrackType; value: string | undefined; } | undefined' is not assignable to type 'Readonly<{ type?: SelectedVideoTrackType; value?: number | undefined; }> | undefined'.
Check TS (tsc)
Process completed with exit code 1.
Check TS (tsc)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint JS (eslint, prettier)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.