twopluszero / next-images

Import images in Next.js (supports jpg, jpeg, svg, png and gif images)
MIT License
950 stars 67 forks source link

Update README.md with helpful note for TS users leveraging `fileExtensions` #50

Closed kylemh closed 4 years ago

kylemh commented 4 years ago

Also, I would love a version bump 🙏

arefaslani commented 4 years ago

@kylemh Done :) I also fixed a small bug with fileExtensions option in this commit: https://github.com/twopluszero/next-images/commit/cebcd24fd250b839577b95f4f3158a0085c96228. Your changes are available in v1.5.0 🎉

kylemh commented 4 years ago

🤦‍♂️ nice save!

I mistakenly say the first assignment of fileExtensions as within a destructured object! I wonder why my editor never complained 🤔

arefaslani commented 4 years ago

@kylemh No worries, it works perfectly now 👍