Skip to content

Commit

Permalink
Fix Marker & Polyline TS (#1133)
Browse files Browse the repository at this point in the history
  • Loading branch information
Falke-Design authored Apr 20, 2022
1 parent 6eb9b1d commit 8a512b7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions leaflet-geoman.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,10 @@ declare module 'leaflet' {
}

/**
* Extends built in leaflet Polyline.
* Extends built in leaflet Marker.
*/
interface Polyline {
/** Returns true if Line or Polygon has a self intersection. */
hasSelfIntersection(): boolean;
interface Marker {
pm: PM.PMLayer;
}

/**
Expand Down

0 comments on commit 8a512b7

Please sign in to comment.