From 328aec4c8baf506cd1b5440c40703e4d2f3c20d5 Mon Sep 17 00:00:00 2001 From: Tomohiko Ozawa Date: Thu, 17 Aug 2017 07:36:56 +0900 Subject: [PATCH] [paper] fixed typing (#19044) * fixed * update version --- types/paper/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/paper/index.d.ts b/types/paper/index.d.ts index bce11df130..0db2b5a773 100644 --- a/types/paper/index.d.ts +++ b/types/paper/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Paper.js v0.9.22 +// Type definitions for Paper.js v0.9.23 // Project: http://paperjs.org/ // Definitions by: Clark Stevenson // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -3009,7 +3009,7 @@ declare module 'paper' { * @param offset - the offset on the curve, or the curve time parameter if isParameter is true * @param isParameter [optional] - pass true if offset is a curve time parameter. default: false */ - getLocationAt(offset: Point, isParameter?: boolean): CurveLocation; + getLocationAt(offset: number, isParameter?: boolean): CurveLocation; /** * Returns the curve location of the specified point if it lies on the curve, null otherwise.