From 7891391d33c42b4a2a87b5abc8f1eefc8f8229d8 Mon Sep 17 00:00:00 2001 From: Benjamin Scharf Date: Mon, 8 Sep 2025 12:26:08 +0100 Subject: [PATCH] fix: update parent type to use ShallowRef in VueDragAndDropData --- src/vue/types.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vue/types.ts b/src/vue/types.ts index 5303966c..df38474a 100644 --- a/src/vue/types.ts +++ b/src/vue/types.ts @@ -1,10 +1,10 @@ -import type { Ref } from "vue"; +import type { Ref, ShallowRef } from "vue"; import type { ParentConfig } from "../types"; -export type VueElement = HTMLElement | Ref; +export type VueElement = HTMLElement | Ref; export interface VueDragAndDropData extends VueParentConfig { - parent: HTMLElement | Ref; + parent: HTMLElement | ShallowRef; values: Ref> | Array; }