Skip to content

feat: Add null to several ref types #2630

feat: Add null to several ref types

feat: Add null to several ref types #2630

Triggered via pull request December 8, 2024 14:37
Status Failure
Total duration 13m 57s
Artifacts

lint-typecheck.yml

on: pull_request
Matrix: lint-typecheck
Discord Notification
0s
Discord Notification
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint-typecheck
Type 'RefObject<ImperativePanelHandle | null> | null' is not assignable to type 'LegacyRef<ImperativePanelHandle> | undefined'.
lint-typecheck
Type 'RefObject<HTMLDivElement | null>' is not assignable to type 'LegacyRef<HTMLDivElement> | undefined'.
lint-typecheck
www#typecheck: command (/home/runner/work/plate/plate/apps/www) /tmp/xfs-8cf32993/yarn run typecheck exited (2)
lint-typecheck
Type 'RefObject<HTMLDivElement | null>' is not assignable to type 'LegacyRef<HTMLDivElement> | undefined'.
lint-typecheck
Type 'RefObject<HTMLDivElement | null>' is not assignable to type 'LegacyRef<HTMLDivElement> | undefined'.
lint-typecheck
Type 'RefObject<HTMLDivElement | null> | undefined' is not assignable to type 'LegacyRef<HTMLDivElement> | undefined'.
lint-typecheck
Type 'RefObject<HTMLDivElement | null> | undefined' is not assignable to type 'LegacyRef<HTMLDivElement> | undefined'.
lint-typecheck
Type 'RefObject<HTMLDivElement | null>' is not assignable to type 'RefObject<HTMLDivElement>'.
lint-typecheck
Type 'RefObject<HTMLDivElement | null>' is not assignable to type 'RefObject<Measurable>'.
lint-typecheck
Process completed with exit code 2.
lint-typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636