mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-26 11:12:19 +08:00
Merge pull request #4596 from Jimexist/patch-1
L.LineUtil.closestPointOnSegment update
This commit is contained in:
Vendored
+1
-1
@@ -1980,7 +1980,7 @@ declare module L {
|
||||
/**
|
||||
* Returns the closest point from a point p on a segment p1 to p2.
|
||||
*/
|
||||
export function closestPointOnSegment(p: Point, p1: Point, p2: Point): number;
|
||||
export function closestPointOnSegment(p: Point, p1: Point, p2: Point): Point;
|
||||
|
||||
/**
|
||||
* Clips the segment a to b by rectangular bounds (modifying the segment points
|
||||
|
||||
Reference in New Issue
Block a user