add missing types, close #1693

This commit is contained in:
Anton Lavrenov 2023-12-25 10:26:28 -05:00
parent 5bf47a384c
commit 813cd4f780

View File

@ -42,6 +42,12 @@ export interface TransformerConfig extends ContainerConfig {
boundBoxFunc?: (oldBox: Box, newBox: Box) => Box;
useSingleNodeRotation?: boolean;
shouldOverdrawWholeArea?: boolean;
anchorDragBoundFunc?: (
oldPos: Vector2d,
newPos: Vector2d,
evt: any
) => Vector2d;
anchorStyleFunc?: (anchor: Shape) => void;
}
var EVENTS_NAME = 'tr-konva';