Product:PDFNET-Node
Product Version: 9.1.0
Please give a brief summary of your issue:
(Think of this as an email subject)
Can’t build your package anymore after this version
Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)
upgrade your package json to 9.1.0 and see build errors
Please provide a link to a minimal sample where the issue is reproducible:
When building now we get
node_modules/@pdftron/pdfnet-node/lib/types.d.ts(22883,33): error TS1138: Parameter declaration expected.
node_modules/@pdftron/pdfnet-node/lib/types.d.ts(22883,44): error TS1005: ‘;’ expected.
node_modules/@pdftron/pdfnet-node/lib/types.d.ts(22883,45): error TS1068: Unexpected token. A constructor, method, accessor, or property was expected.
node_modules/@pdftron/pdfnet-node/lib/types.d.ts(22883,53): error TS1005: ‘;’ expected.
node_modules/@pdftron/pdfnet-node/lib/types.d.ts(22883,63): error TS1005: ‘;’ expected.
in the code.
Seems to be tied to this
setUsePDFPageCoords(if: boolean): PDFNet.OCRModule.OCROptions; - Assuming the if statement. This was not an issue on 9.0.0-3