File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/react-pdf/src/Page Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import useResolver from '../shared/hooks/useResolver.js';
1313import { cancelRunningTask } from '../shared/utils.js' ;
1414
1515import type { Annotations } from '../shared/types.js' ;
16+ import type { AnnotationLayerParameters } from 'pdfjs-dist/types/src/display/annotation_layer.js' ;
1617
1718export default function AnnotationLayer ( ) : React . ReactElement {
1819 const documentContext = useDocumentContext ( ) ;
@@ -169,7 +170,7 @@ export default function AnnotationLayer(): React.ReactElement {
169170 viewport : clonedViewport ,
170171 } ;
171172
172- const renderParameters = {
173+ const renderParameters : AnnotationLayerParameters = {
173174 annotations,
174175 annotationStorage : pdf . annotationStorage ,
175176 div : layer ,
You can’t perform that action at this time.
0 commit comments