From 41d890085589e635f99d458e9a1bd6dac52a4baf Mon Sep 17 00:00:00 2001 From: sqwk Date: Wed, 5 Jul 2017 01:04:08 +0200 Subject: [PATCH] fix: Update Return Type for Include Method --- types/paper/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/paper/index.d.ts b/types/paper/index.d.ts index 812e6d4aad..f7c93d4797 100644 --- a/types/paper/index.d.ts +++ b/types/paper/index.d.ts @@ -787,7 +787,7 @@ declare module 'paper' { * The rectangle.contains(point) method does not return true for points on the right or bottom edges of a rectangle. Therefore, if the added point falls on the left or bottom edge of the enlarged rectangle, rectangle.contains(point) returns false for that point. * @param point - the point to add to the rectangle */ - include(point: Point): Point; + include(point: Point): Rectangle; /** * Expands the rectangle by the specified amount in horizontal and vertical directions.