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

Remove restriction of typesVersion to 4.7 #2078

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

torjusb
Copy link
Contributor

@torjusb torjusb commented Nov 28, 2023

Newer versions of TypeScript would not pick up the types when importing from photoswipe/lightbox as the types were restricted to version 4.7 or lower.

The types works perfectly fine with newer versions of TS, so by simply removing the restriction everything works as expected.

fixes #2029

Newer versions of TypeScript would not pick up the types when importing from `photoswipe/lightbox` as the types were restricted to version 4.7 or lower.

The types works perfectly fine with newer versions of TS, so by simply removing the restriction everything works as expected.

fixes dimsemenov#2029
@dimsemenov dimsemenov merged commit 79f8159 into dimsemenov:master Nov 28, 2023
@dimsemenov
Copy link
Owner

Thank you, it does seem to work indeed.

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

Successfully merging this pull request may close these issues.

Typescript Error: "Cannot find module or its corresponding type declarations"
2 participants