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 <identifier>").
This commit is contained in:
jraymakers 2013-08-07 20:47:10 -07:00
parent e22f63b38f
commit ec36e9a0cc

View File

@ -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.