From f983cb1582b286971e65fff4651a846593f6b263 Mon Sep 17 00:00:00 2001 From: Felix Fung Date: Sun, 8 Sep 2013 17:18:47 -0400 Subject: [PATCH] Fix leaflet.d.ts, TileLayerOptions.subdomains is flexibly typed From the comments, subdomains can be a string or an array of strings. We can't make any strong type inference from the interface. Quote: "Subdomains of the tile service. Can be passed in the form of one string (where each letter is a subdomain name) or an array of strings." --- leaflet/leaflet.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leaflet/leaflet.d.ts b/leaflet/leaflet.d.ts index 055ced81fd..336f51cd96 100644 --- a/leaflet/leaflet.d.ts +++ b/leaflet/leaflet.d.ts @@ -808,7 +808,7 @@ declare module L { * Subdomains of the tile service. Can be passed in the form of one string (where * each letter is a subdomain name) or an array of strings. */ - subdomains?: string; + subdomains?: any; /** * URL to the tile image to show in place of the tile that failed to load.