Skip to content

Commit

Permalink
Remove restriction of typesVersion to 4.7 (#2078)
Browse files Browse the repository at this point in the history
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/PhotoSwipe#2029
  • Loading branch information
referee1005 authored Nov 28, 2023
1 parent 3baf63e commit f8a6148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"./style.css": "./dist/photoswipe.css"
},
"typesVersions": {
"<4.7": {
"*": {
"lightbox": [
"dist/types/lightbox/lightbox.d.ts"
]
Expand Down

0 comments on commit f8a6148

Please sign in to comment.