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