You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 a Path (just like I did in 0.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 in 0.7.13) and the following tooltip seems to indicate is possible.
So shouldn't the type of Shape.scale be number or vector?
The text was updated successfully, but these errors were encountered:
I'm updating from
0.7.13
to0.8.7
for my typescript application and I think that there are possibly some omissions in thetype.d.ts
file in theTwo.Path
module.this worked in
0.7.13
and I think that the current error stems from the fact that the filetype.d.ts
in thePath
moduledoesn't include the
closed
property (like it does forbeginning
,ending
,fill
,stroke
, etc).RadialGradient
for a fill of aPath
(just like I did in0.7.13
) and I get the error ofAgain I think that the type for
Path.fill
should be more than juststring
in thetype.d.ts
file in thePath
moduleShouldn't the type for
Path.fill
bestring
orgradient
ortexture
?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
benumber
orvector
?The text was updated successfully, but these errors were encountered: