Set detectRetina's expected type as Boolean at code level to match documentation and usage
Merge pull request #2707 from Leaflet/detect-retina-boolean

Set detectRetina's expected type as Boolean at code level to match docum...