Posted 22 September 2020, 10:43 pm EST
I have included @grapecity/gcpdfviewer within my react-app, and I am getting a huge list of exceptions I cant seem to resolve:
i 「wdm」: Failed to compile.
✖ 「atl」: Checking finished with 176 errors
[at-loader] ./node_modules/@types/react/index.d.ts:2963:14
TS2300: Duplicate identifier 'LibraryManagedAttributes'.
[at-loader] ./node_modules/@grapecity/gcpdfviewer/typings/vendor/react/react.d.ts:2972:13
TS2717: Subsequent property declarations must have the same type. Property 'a' must be of type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>', but here has type 'DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>'.
[at-loader] ./node_modules/@grapecity/gcpdfviewer/typings/vendor/react/react.d.ts:2973:13
TS2717: Subsequent property declarations must have the same type. Property 'abbr' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.
[at-loader] ./node_modules/@grapecity/gcpdfviewer/typings/vendor/react/react.d.ts:2974:13
TS2717: Subsequent property declarations must have the same type. Property 'address' must be of type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>', but here has type 'DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>'.