mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-03 19:42:27 +08:00
add() and sub() take a Point as parameter
@dobrud @patrickr cfr. https://github.com/mapbox/point-geometry
This commit is contained in:
4
types/mapbox-gl/index.d.ts
vendored
4
types/mapbox-gl/index.d.ts
vendored
@@ -710,9 +710,9 @@ declare namespace mapboxgl {
|
||||
|
||||
clone(): Point;
|
||||
|
||||
add(p: number): Point;
|
||||
add(p: Point): Point;
|
||||
|
||||
sub(p: number): Point;
|
||||
sub(p: Point): Point;
|
||||
|
||||
mult(k: number): Point;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user