fix: prevents crash from occurring when using the selected video track with resolution type #157
check-js.yml
on: pull_request
Check TS (tsc)
11s
Lint JS (eslint, prettier)
16s
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/.
|