Skip to content

Property values 'fieldType' and 'ButtonValue' does not exist in PDFAnnotation Data #2

Description

@drexelapplab

I'm currently trying to run your code but I'm coming across this error in my terminal whenever I try to run my website. I've already downloaded the npm package for pdfjs-dist and I don't see within their files of anything labeled, "PDFAnnotationData". Am I missing another installation or package?

ERROR in src/app/pdf/pdf.component.ts(30,54): error TS2339: Property 'buttonValue' does not exist on type 'PDFAnnotationData'.
src/app/pdf/pdf.component.ts(33,33): error TS2339: Property 'fieldName' does not exist on type 'PDFAnnotationData'.
src/app/pdf/pdf.component.ts(35,24): error TS2339: Property 'fieldType' does not exist on type 'PDFAnnotationData'.
src/app/pdf/pdf.component.ts(37,38): error TS2339: Property 'buttonValue' does not exist on type 'PDFAnnotationData'.
src/app/pdf/pdf.component.ts(40,24): error TS2339: Property 'fieldType' does not exist on type 'PDFAnnotationData'.
src/app/pdf/pdf.component.ts(40,59): error TS2339: Property 'checkBox' does not exist on type 'PDFAnnotationData'.
src/app/pdf/pdf.component.ts(42,38): error TS2339: Property 'buttonValue' does not exist on type 'PDFAnnotationData'.
src/app/pdf/pdf.component.ts(45,24): error TS2339: Property 'checkBox' does not exist on type 'PDFAnnotationData'.
src/app/pdf/pdf.component.ts(48,54): error TS2339: Property 'buttonValue' does not exist on type 'PDFAnnotationData'.
src/app/pdf/pdf.component.ts(65,43): error TS2339: Property 'fieldName' does not exist on type 'PDFAnnotationData'.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions