From 97f8728185d7e128ed7030655fb7b30cdf3f7566 Mon Sep 17 00:00:00 2001 From: ^_^ Date: Mon, 25 Jul 2016 17:23:45 +0300 Subject: [PATCH 1/2] Update slick-carousel definitions --- slick-carousel/slick-carousel.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/slick-carousel/slick-carousel.d.ts b/slick-carousel/slick-carousel.d.ts index 7f470c34a0..7d79293330 100644 --- a/slick-carousel/slick-carousel.d.ts +++ b/slick-carousel/slick-carousel.d.ts @@ -38,34 +38,34 @@ interface JQuerySlickOptions { arrows?: boolean; /** - * Set the slider to be the navigation of other slider (Class or ID Name) + * Set the slider to be the navigation of other slider * Default: null */ - asNavFor?: string; + asNavFor?: Element | JQuery | string; /** * Change where the navigation arrows are attached (Selector, htmlString, Array, Element, jQuery object) * Default: $(element) */ - appendArrows?: any; + appendArrows?: Element | Element[] | JQuery | string; /** * Change where the navigation dots are attached (Selector, htmlString, Array, Element, jQuery object) * Default: $(element) */ - appendDots?: any; + appendDots?: Element | Element[] | JQuery | string; /** * Allows you to select a node or customize the HTML for the "Previous" arrow. * Default: */ - prevArrow?: string | Object; + prevArrow?: Element | JQuery | string; /** * Allows you to select a node or customize the HTML for the "Next" arrow. * Default: */ - nextArrow?: string | Object; + nextArrow?: Element | JQuery | string; /** * Enables centered view with partial prev/next slides. Use with odd numbered slidesToShow counts. From 78892d49f40c2dc38e1b84efa3a9631a2cb35101 Mon Sep 17 00:00:00 2001 From: quark Date: Wed, 27 Jul 2016 18:38:54 +0300 Subject: [PATCH 2/2] jqueryui: fix draggable's connectToSortable connectToSortable should allow anything that can be passed to $(...) --- jqueryui/jqueryui.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jqueryui/jqueryui.d.ts b/jqueryui/jqueryui.d.ts index 7391de7824..5f6a279b80 100644 --- a/jqueryui/jqueryui.d.ts +++ b/jqueryui/jqueryui.d.ts @@ -427,7 +427,7 @@ declare namespace JQueryUI { appendTo?: any; axis?: string; cancel?: string; - connectToSortable?: string; + connectToSortable?: Element | Element[] | JQuery | string; containment?: any; cursor?: string; cursorAt?: any;