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:
Derek Cicerone 2014-01-23 14:44:50 -05:00
parent 950d0d85a7
commit 42f347283f

View File

@ -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;
}