type TLOnResizeEndHandler<T extends TLShape> = ( initial: T, current: T ) => TLShapePartial<T> | void