How to convert go.Diagram(javascript) to typescript

Are you talking about replacing the ToolManager.resizingTool with an instance of your tool? How did you define that class?

Here are examples of other GoJS subclasses in TypeScript: Possible to click endpoints to create link via LinkingTool? - #4 by walter