batoulapps / adhan-js

High precision Islamic prayer time library for JavaScript
MIT License
385 stars 86 forks source link

Fixed latitude and longitude order for Coordinates constructor #23

Closed mzc13 closed 4 years ago

mzc13 commented 4 years ago

In the source code, the constructor has latitude as the first argument and longitude as the second. The ts file had these two switched which gave incorrect hints in VS Code.