Andy Hanson
45c9246c09
Remove esModuleInterop from tsconfigs (no longer mandatory)
2018-02-14 14:55:13 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs ( #23354 )
2018-02-05 11:01:56 -08:00
Pkthunder
1d7a6e1f41
Update index.d.ts ( #23301 )
...
see paper.js docs:
http://paperjs.org/reference/project/#addlayer-layer
http://paperjs.org/reference/project/#insertlayer-index-item
2018-01-31 12:32:52 -08:00
Andy Hanson
03859a9372
Provide options type
2018-01-24 10:37:24 -08:00
Andy Hanson
67fde1028f
Merge branch 'patch-1' of https://github.com/bobby77/DefinitelyTyped into bobby77-patch-1
2018-01-24 10:36:32 -08:00
georgberecz
6eb3057805
Add missing mouse event typings for View ( #23156 )
2018-01-24 08:57:17 -08:00
bobby77
60af25b105
Update index.d.ts
...
Changed error in "transform" and "inverseTransform" return type: Point instead of Matrix (L307)
Changed error in clone parameters : object instead of boolean (L1358-1360)
2017-12-26 16:02:27 +01:00
Jon LUCAS
8d233ed377
add global compatibility. fix Rater setImageData declaration
2017-12-12 10:04:55 +01:00
georgberecz
fb9ec35223
Add onMouseDrag to Item type
2017-12-07 14:17:24 +01:00
Matt Roberts
0b969b5be1
Updated version
2017-11-15 13:16:04 -08:00
Matt Roberts
0a62c943c5
Added Size.add & Size.subtract
2017-11-15 13:06:47 -08:00
Andy
19f89399e4
Ensure every package has a tslint.json ( #21009 )
...
* Ensure every package has a tslint.json
* Fixes
2017-10-25 11:13:50 -07:00
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 c403c86a23/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