Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't import custoqr on Angular V8 #28

Closed
Yop-Yop opened this issue Mar 15, 2024 · 2 comments
Closed

Can't import custoqr on Angular V8 #28

Yop-Yop opened this issue Mar 15, 2024 · 2 comments

Comments

@Yop-Yop
Copy link

Yop-Yop commented Mar 15, 2024

Hi !
I've got a problem importing this library on Angular environment :

ERROR in node_modules/@intosoft/custoqr/dist/index.d.ts:5:1 - error TS1128: Declaration or statement expected.

5 export type { Config, WifiEncryption, BodyShape, EyeFrameShape, EyeballShape };

node_modules/@intosoft/custoqr/dist/index.d.ts:5:13 - error TS1005: ';' expected.

5 export type { Config, WifiEncryption, BodyShape, EyeFrameShape, EyeballShape };

ERROR in ./src/app/modules/directives/partials/qrCode/qrCode.partial.ts
Module not found: Error: Can't resolve '@intosoft/custoqr/dist/generateSVGString' in 'W:\www...'
i 「wdm」: Failed to compile.

It seems that index.d.ts is not correct on Angular. Do you have a solution ?
Thanks

@sakul-budhathoki
Copy link
Member

@Yop-Yop fixed it on version 0.0.7

@sakul-budhathoki
Copy link
Member

fixed by #29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants