[paper] fixed typing (#19044)

* fixed

* update version
This commit is contained in:
Tomohiko Ozawa
2017-08-16 15:36:56 -07:00
committed by Mohamed Hegazy
parent 6bcca4d5b6
commit 328aec4c8b
+2 -2
View File
@@ -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 <http://github.com/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.