From 3e107a29425482e019d9d716de0177d165a6d1b9 Mon Sep 17 00:00:00 2001 From: MIZUNE Pine Date: Sat, 20 Sep 2014 03:58:09 +0900 Subject: [PATCH] Added appendTo overload --- zepto/zepto.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zepto/zepto.d.ts b/zepto/zepto.d.ts index 04f11289e..d85072a66 100644 --- a/zepto/zepto.d.ts +++ b/zepto/zepto.d.ts @@ -493,6 +493,11 @@ interface ZeptoCollection { **/ appendTo(target: HTMLElement[]): ZeptoCollection; + /** + * @see ZeptoCollection.appendTo + **/ + appendTo(target: ZeptoCollection): ZeptoCollection; + /** * Read or set DOM attributes. When no value is given, reads specified attribute from the first element in the collection. When value is given, sets the attribute to that value on each element in the collection. When value is null, the attribute is removed (like with removeAttr). Multiple attributes can be set by passing an object with name-value pairs. * To read DOM properties such as checked or selected, use prop.