12 Commits
Author SHA1 Message Date
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Andy 5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Tomohiko Ozawa 328aec4c8b [paper] fixed typing (#19044)
* fixed

* update version
2017-08-16 15:36:56 -07:00
Santi Albo a0fa31362f [paper] Correct return type for Rectangle.scale and Rectangle.expand (#18578)
The definition for both methods returned void although they return a new Rectangle instance.
See https://github.com/paperjs/paper.js/blob/c403c86a23f54f07bb7e9448c7f05df5cebb464c/src/basic/Rectangle.js#L805-L833
2017-08-02 11:39:36 -07:00
Chris Kelly 1ad0e4dbc4 Make center point optional on Point.rotate (#18045)
* Make center point optional on Point.rotate

Since the second parameter is optional (and most don't use it), let's let TS know that one parameter is OK.

* Update index.d.ts
2017-07-17 11:17:58 -07:00
Ryan Cavanaugh 6858db71f7 Merge pull request #17755 from sqwk/sqwk-patch-1
Update Paper Types
2017-07-12 12:44:15 -07:00
sqwk fdf409b0ae fix: Make Match Optional 2017-07-07 12:53:00 +02:00
sqwk 41d8900855 fix: Update Return Type for Include Method 2017-07-05 01:04:08 +02:00
sqwk bebdfcd941 fix: Add Types for Match Method 2017-07-05 01:02:48 +02:00
StickerFiend 9762353556 Added hex string option to Color constructor
Passing a string into Color worked prior to Typescript 2.4

Requires @clark-stevenson approval.
2017-06-30 14:20:56 -07:00
StickerFiend 9bb76af07f [types/paper] Updated from clark-stevenson repo (#16997)
* Updated index.d.ts from clark-stevenson paperjs type repo

* Fixed failing test
2017-06-06 17:19:01 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00