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