mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Leaflet: fix default icon constructor
This fix allows this code (which worked in an earlier version): var icon = new L.Icon.Default();
This commit is contained in:
Vendored
+2
-2
@@ -991,9 +991,9 @@ declare module L {
|
||||
export class Default extends Icon {
|
||||
|
||||
/**
|
||||
* Creates an icon instance with default options.
|
||||
* Creates a default icon instance with the given options.
|
||||
*/
|
||||
constructor(options: IconOptions);
|
||||
constructor(options?: IconOptions);
|
||||
|
||||
static imagePath: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user