Rescaling with gojs-angular

I saw the rescaling sample.

In the sample, there is need to add this line:

      // install the RescalingTool as a mouse-down tool
      myDiagram.toolManager.mouseDownTools.add(new RescalingTool());

I tried to do that with my program, but I don’t know where to import RescalingTool()
Can you please explain how I enabling rescaling in angular?
thank you.

Copy the extensions/RescalingTool.ts file into your project. Make sure it imports GoJS from the same place as the rest of your code. Then you can import { RescalingTool } from ....