mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
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:
parent
e22f63b38f
commit
ec36e9a0cc
2
leaflet/leaflet.d.ts
vendored
2
leaflet/leaflet.d.ts
vendored
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user