diff --git a/packages/react-pdf/src/Page/AnnotationLayer.tsx b/packages/react-pdf/src/Page/AnnotationLayer.tsx index 41b91ebe3..5e682542d 100644 --- a/packages/react-pdf/src/Page/AnnotationLayer.tsx +++ b/packages/react-pdf/src/Page/AnnotationLayer.tsx @@ -12,7 +12,6 @@ import usePageContext from '../shared/hooks/usePageContext.js'; import useResolver from '../shared/hooks/useResolver.js'; import { cancelRunningTask } from '../shared/utils.js'; -import type { IDownloadManager } from 'pdfjs-dist/types/web/interfaces.js'; import type { Annotations } from '../shared/types.js'; export default function AnnotationLayer() { @@ -172,8 +171,6 @@ export default function AnnotationLayer() { annotations, annotationStorage: pdf.annotationStorage, div: layer, - // See https://github.com/mozilla/pdf.js/issues/17029 - downloadManager: null as unknown as IDownloadManager, imageResourcesPath, linkService, page,