I am having a problem with PSPDFKit npm module. I followed the tutorial on the following url PSPDFKIT, however without making any changes, I get the following error:
Error: node_modules/pspdfkit/dist/index.d.ts:2467:93 - error TS2344: Type 'TProps' does not satisfy the constraint 'Object'.
2467 declare function Record$1(defaultValues: TProps, name?: string): Record$1.Factory;
Any help would be appreciated. I am using Angular 14.
I tried the tutorial and I was expecting it to build successfully.