Public typealias

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

TLShape, TLHandle, TLSelectionHandle

Source

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

TLPointerEventNameTLResizeHandle