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 #2029
  • Loading branch information
torjusb committed Nov 28, 2023
1 parent 2d23b36 commit 79f8159
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 79f8159

Please sign in to comment.