diff --git a/zepto/zepto.d.ts b/zepto/zepto.d.ts index eb217e5b9..3608ade9f 100644 --- a/zepto/zepto.d.ts +++ b/zepto/zepto.d.ts @@ -448,6 +448,11 @@ interface ZeptoCollection { * @see ZeptoCollection.after **/ after(content: HTMLElement[]): ZeptoCollection; + + /** + * @see ZeptoCollection.after + **/ + after(content: ZeptoCollection): ZeptoCollection; /** * Append content to the DOM inside each individual element in the collection. The content can be an HTML string, a DOM node or an array of nodes. @@ -465,6 +470,11 @@ interface ZeptoCollection { * @see ZeptoCollection.append **/ append(content: HTMLElement[]): ZeptoCollection; + + /** + * @see ZeptoCollection.append + **/ + append(content: ZeptoCollection): ZeptoCollection; /** * Append elements from the current collection to the target element. This is like append, but with reversed operands. @@ -526,6 +536,11 @@ interface ZeptoCollection { * @see ZeptoCollection.before **/ before(content: HTMLElement[]): ZeptoCollection; + + /** + * @see ZeptoCollection.before + **/ + before(content: ZeptoCollection): ZeptoCollection; /** * Get immediate children of each element in the current collection. If selector is given, filter the results to only include ones matching the CSS selector. @@ -948,6 +963,12 @@ interface ZeptoCollection { **/ prepend(content: HTMLElement[]): ZeptoCollection; + /** + * @see ZeptoCollection.prepend + * @param content + **/ + prepend(content: ZeptoCollection): ZeptoCollection; + /** * Prepend elements of the current collection inside each of the target elements. This is like prepend, only with reversed operands. * @param content