fix type errors
This commit is contained in:
@@ -57,6 +57,8 @@
|
|||||||
onselectiondragstart,
|
onselectiondragstart,
|
||||||
onselectiondrag,
|
onselectiondrag,
|
||||||
onselectiondragstop,
|
onselectiondragstop,
|
||||||
|
onselectionstart,
|
||||||
|
onselectionend,
|
||||||
clickConnect,
|
clickConnect,
|
||||||
fitView,
|
fitView,
|
||||||
fitViewOptions,
|
fitViewOptions,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import type { Snippet } from 'svelte';
|
import type { Snippet } from 'svelte';
|
||||||
import type { ClassValue, HTMLAttributes } from 'svelte/elements';
|
import type { ClassValue, HTMLAttributes, HTMLButtonAttributes } from 'svelte/elements';
|
||||||
import type { PanelPosition } from '@xyflow/system';
|
import type { PanelPosition } from '@xyflow/system';
|
||||||
|
|
||||||
import type { FitViewOptions } from '$lib/types';
|
import type { FitViewOptions } from '$lib/types';
|
||||||
@@ -31,7 +31,7 @@ export type ControlsProps = {
|
|||||||
fitViewOptions?: FitViewOptions;
|
fitViewOptions?: FitViewOptions;
|
||||||
} & HTMLAttributes<HTMLDivElement>;
|
} & HTMLAttributes<HTMLDivElement>;
|
||||||
|
|
||||||
export type ControlButtonProps = HTMLAttributes<HTMLButtonElement> & {
|
export type ControlButtonProps = HTMLButtonAttributes & {
|
||||||
class?: ClassValue;
|
class?: ClassValue;
|
||||||
bgColor?: string;
|
bgColor?: string;
|
||||||
bgColorHover?: string;
|
bgColorHover?: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user