Public typealias

Signature
type TLPointerEventTarget =
  | {
      handle: TLHandle
      shape: TLShape
      target: 'handle'
    }
  | {
      handle?: TLSelectionHandle
      shape?: undefined
      target: 'selection'
    }
  | {
      shape: TLShape
      target: 'shape'
    }
  | {
      shape?: undefined
      target: 'canvas'
    }
References

TLHandle, TLShape, TLSelectionHandle

Source

packages/editor/src/lib/editor/types/event-types.ts

TLPointerEventNameTLResizeHandle