Leaflet: Fix the L.tileLayer function typing

The current version was being rejected by Typescript 1.0. The new typing
follows the advice from the Handbook.