@ant-design can't find module '../../../utils/lib'

node_modules/@ant-design/pro-form/lib/components/UploadDragger/index.d.ts:59:24 - error TS2307: Cannot find module ‘…/…/…/…/utils/lib’ or its corresponding type declarations.

59 transform?: import("…/…/…/…/utils/lib").SearchTransformKeyFn | undefined;