cleanup unused type

draw-optimizer
Steve Ruiz 2024-04-01 19:41:34 +01:00
rodzic 2edafaf6bf
commit 2dce84f8e9
3 zmienionych plików z 16 dodań i 27 usunięć

Wyświetl plik

@ -49,17 +49,6 @@ export interface TLBaseEventInfo {
ctrlKey: boolean
}
/** @public */
export type TLBasePointerEventInfo = TLBaseEventInfo & {
type: 'pointer'
name: TLPointerEventName
// The pointer position in client space, i.e. clientX / clientY
point: VecLike
pointerId: number
button: number
isPen: boolean
} & TLPointerEventTarget
/** @public */
export type TLPointerEventInfo = TLBaseEventInfo & {
type: 'pointer'

Wyświetl plik

@ -411,7 +411,7 @@ export const DefaultQuickActions: NamedExoticComponent<TLUiQuickActionsProps>;
export function DefaultQuickActionsContent(): JSX_2.Element | undefined;
// @public (undocumented)
export const defaultShapeTools: (typeof ArrowShapeTool | typeof DrawShapeTool | typeof FrameShapeTool | typeof GeoShapeTool | typeof LineShapeTool | typeof NoteShapeTool | typeof TextShapeTool)[];
export const defaultShapeTools: (typeof ArrowShapeTool | typeof FrameShapeTool | typeof GeoShapeTool | typeof HighlightShapeTool | typeof LineShapeTool | typeof NoteShapeTool | typeof TextShapeTool)[];
// @public (undocumented)
export const defaultShapeUtils: TLAnyShapeUtilConstructor[];
@ -457,7 +457,7 @@ export function downsizeImage(blob: Blob, width: number, height: number, opts?:
// @public (undocumented)
export class DrawShapeTool extends StateNode {
// (undocumented)
static children: () => (typeof Drawing | typeof Idle_2)[];
static children: () => (typeof Drawing | typeof Idle_3)[];
// (undocumented)
static id: string;
// (undocumented)
@ -686,7 +686,7 @@ export function FrameToolbarItem(): JSX_2.Element;
// @public (undocumented)
export class GeoShapeTool extends StateNode {
// (undocumented)
static children: () => (typeof Idle_3 | typeof Pointing_2)[];
static children: () => (typeof Idle_2 | typeof Pointing_2)[];
// (undocumented)
static id: string;
// (undocumented)
@ -880,7 +880,7 @@ export function HexagonToolbarItem(): JSX_2.Element;
// @public (undocumented)
export class HighlightShapeTool extends StateNode {
// (undocumented)
static children: () => (typeof Drawing | typeof Idle_2)[];
static children: () => (typeof Drawing | typeof Idle_3)[];
// (undocumented)
static id: string;
// (undocumented)

Wyświetl plik

@ -3829,15 +3829,6 @@
"kind": "Content",
"text": " | typeof "
},
{
"kind": "Reference",
"text": "DrawShapeTool",
"canonicalReference": "tldraw!DrawShapeTool:class"
},
{
"kind": "Content",
"text": " | typeof "
},
{
"kind": "Reference",
"text": "FrameShapeTool",
@ -3856,6 +3847,15 @@
"kind": "Content",
"text": " | typeof "
},
{
"kind": "Reference",
"text": "HighlightShapeTool",
"canonicalReference": "tldraw!HighlightShapeTool:class"
},
{
"kind": "Content",
"text": " | typeof "
},
{
"kind": "Reference",
"text": "LineShapeTool",
@ -4490,7 +4490,7 @@
{
"kind": "Reference",
"text": "Idle",
"canonicalReference": "tldraw!~Idle_2:class"
"canonicalReference": "tldraw!~Idle_3:class"
},
{
"kind": "Content",
@ -7979,7 +7979,7 @@
{
"kind": "Reference",
"text": "Idle",
"canonicalReference": "tldraw!~Idle_3:class"
"canonicalReference": "tldraw!~Idle_2:class"
},
{
"kind": "Content",
@ -9741,7 +9741,7 @@
{
"kind": "Reference",
"text": "Idle",
"canonicalReference": "tldraw!~Idle_2:class"
"canonicalReference": "tldraw!~Idle_3:class"
},
{
"kind": "Content",