NorthwoodsSoftware / GoJS

JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
http://gojs.net
Other
7.7k stars 2.86k forks source link

RotatingTool doesn't have specific typings #126

Closed dominic-simplan closed 3 years ago

dominic-simplan commented 3 years ago

In the go.d.ts file, the rotatingTool doesn't have specific typings, like the other tools. It extends the generic Tool class. Could you add the type definitions of the RotationTool as well?

WalterNorthwoods commented 3 years ago

I was confused by this, until I recognized you meant the declared type of the ToolManager.rotatingTool property, not the definition of the RotatingTool class. Thanks for pointing that out -- it will be fixed in the next release, 2.1.34.

In the meantime, if you care, you can modify your own copy of the go.d.ts file.