How to resolve NodeJS "Cannot find name 'double'." error?


How to resolve the following error when using Apryse PDFNet NodeJS SDK?

node_modules/@pdftron/pdfnet-node/lib/types.d.ts:22923:34 - error TS2304: Cannot find name 'double'.

22923 getFallbackHeight(): double;


This can be resolved with a change to your tsconfig. Try adding "skipLibCheck": true

This skips the lib check in all *.d.ts files in a project.