-
-
Notifications
You must be signed in to change notification settings - Fork 461
Closed
Labels
Description
I'm updating from 0.7.13
to 0.8.7
for my typescript application and I think that there are possibly some omissions in the type.d.ts
file in the Two.Path
module.
- The first issue is that I'm getting the error "Property 'closed' does not exist on type 'Path'" seen here
this worked in 0.7.13
and I think that the current error stems from the fact that the file type.d.ts
in the Path
module
doesn't include the closed
property (like it does for beginning
, ending
, fill
, stroke
, etc).
- I'm trying to use a
RadialGradient
for a fill of aPath
(just like I did in0.7.13
) and I get the error of
Again I think that the type for Path.fill
should be more than just string
in the type.d.ts
file in the Path
module
Shouldn't the type for Path.fill
be string
or gradient
or texture
?
- I'm trying to scale a layer in a non-uniform way so I would like to assign
newLayer
as a vector (like I did in0.7.13
) and the following tooltip seems to indicate is possible.
So shouldn't the type of Shape.scale
be number
or vector
?