mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-10 11:50:49 +08: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:
1 parent
e22f63b38f
commit
ec36e9a0cc
1 file changed
+1
-1
Vendored
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user