Skip to content

Commit

Permalink
Fix "Cannot destructure property 'PDFDataRangeTransport' of 'pdfjs' a…
Browse files Browse the repository at this point in the history
…s it is undefined." error
  • Loading branch information
wojtekmaj committed Aug 1, 2023
1 parent 9fb82bb commit 3bccee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/propTypes.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import PropTypes from 'prop-types';
import { allEvents } from 'make-event-props';
import pdfjs from 'pdfjs-dist';
import * as pdfjs from 'pdfjs-dist';

import { isDefined } from './utils.js';

Expand Down

0 comments on commit 3bccee0

Please sign in to comment.