mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +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:
parent
950d0d85a7
commit
42f347283f
4
leaflet/leaflet.d.ts
vendored
4
leaflet/leaflet.d.ts
vendored
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user