Resolve TypeScript type error for react-draggable nodeRef

Fixkamo-internal
Shipped
2025年11月19日 02:30 UTC
Author
snadjafinia
Commit
01289f4

- Updated nodeRefs Map type to accept RefObject<HTMLDivElement | null> - Added type assertion when passing nodeRef to Draggable component - Fixes build error: Type 'RefObject<HTMLDivElement | null>' is not assignable to 'RefObject<HTMLDivElement>'

All changes

就像你看到的运输?

每一个都自动更新您工作空间的地盘。 开始自由,看它成长 一周又一周.

永远开始自由查看定价