From 85d9f93ac1f33c4ae6a27f728210c03ebb9b0d3b Mon Sep 17 00:00:00 2001 From: Marco Q Date: Wed, 20 Jun 2018 16:59:06 +0200 Subject: [PATCH] add() and sub() take a Point as parameter @dobrud @patrickr cfr. https://github.com/mapbox/point-geometry --- types/mapbox-gl/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/mapbox-gl/index.d.ts b/types/mapbox-gl/index.d.ts index 5a5e581b0a..4cfdf986bf 100644 --- a/types/mapbox-gl/index.d.ts +++ b/types/mapbox-gl/index.d.ts @@ -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;