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

Version range issue with @types/dom-webcodecs #120

Open
lebck opened this issue Oct 11, 2024 · 1 comment
Open

Version range issue with @types/dom-webcodecs #120

lebck opened this issue Oct 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@lebck
Copy link

lebck commented Oct 11, 2024

I'm using your library in an angular project which has currently pinned its typescript version to 5.4.5, since the later versions of typescript are not supported yet.

When I install the barcode-detector, the dependency @types/dom-webcodecs will be installed in the latest version 0.1.13 since it is marked with the ^0.1.8. This uses types not existing in typescript 5.4.5 breaking my compilation.

I just explicitly installed 0.1.8 in my project, but a better solution might be to pin your dependency version explicitly to 0.1.8 to support a broader range of typescript versions.

@lebck lebck changed the title Version range issues with @types/dom-webcodecs Version range issue with @types/dom-webcodecs Oct 11, 2024
@Sec-ant
Copy link
Owner

Sec-ant commented Oct 11, 2024

Thanks for reporting, I'll look into this issue.

@Sec-ant Sec-ant added the bug Something isn't working label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants