From ec36e9a0cc2bf424bc4e9cfd5dbf08488f9a1329 Mon Sep 17 00:00:00 2001 From: jraymakers Date: Wed, 7 Aug 2013 20:47:10 -0700 Subject: [PATCH] Fix leaflet syntax error This type of problem (modules no longer define types) can now be fixed with the new 0.9.1 type query syntax (e.g. "typeof "). --- 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 1b1ddfe8b2..256e1b8689 100644 --- a/leaflet/leaflet.d.ts +++ b/leaflet/leaflet.d.ts @@ -2926,7 +2926,7 @@ declare module L { * This method restores the L global variale to the original value it had * before Leaflet inclusion, and returns the real Leaflet namespace. */ - export var noConflict: () => L; + export var noConflict: () => typeof L; /** * A constant that represents the Leaflet version in use.