From 4d1c1d396e7d6ce3268e0fb5d9aacea654cbe4eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carsten=20Blu=CC=88m?= Date: Mon, 9 Jan 2017 08:16:02 +0100 Subject: [PATCH] DragulaOptions.copy can be a function --- dragula/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dragula/index.d.ts b/dragula/index.d.ts index 98ff1f3108..fe09c409e2 100644 --- a/dragula/index.d.ts +++ b/dragula/index.d.ts @@ -16,7 +16,7 @@ declare namespace dragula { accepts?: (el?: Element, target?: Element, source?: Element, sibling?: Element) => boolean; invalid?: (el?: Element, target?: Element) => boolean; direction?: string; - copy?: boolean; + copy?: ((el: Element, source: Element) => boolean) | boolean; revertOnSpill?: boolean; removeOnSpill?: boolean; delay?: boolean | number;