React.lazy(() => import('react-draggable')) 失败 TypeScript: Draggable 的类型无法赋值给 ComponentType
作者: paztis创建于 2026年9月16日更新于 2026年9月16日
import type {ComponentType} from 'react'; import {lazy} from 'react'; import type {DraggableProps} from 'react-draggable'; const Draggable = lazy(async () => { const
内容来源: react-grid-layout/react-draggable