From d51f7f601a1d4f166d32b08c615600a37d49c7ba Mon Sep 17 00:00:00 2001 From: MIZUNE Pine Date: Tue, 26 Aug 2014 15:01:51 +0900 Subject: [PATCH] Add length property --- zepto/zepto.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/zepto/zepto.d.ts b/zepto/zepto.d.ts index 3608ade9f..ba75e7556 100644 --- a/zepto/zepto.d.ts +++ b/zepto/zepto.d.ts @@ -1106,7 +1106,12 @@ interface ZeptoCollection { * @return **/ size(): number; - + + /** + * Get the number of elements in this collection. + **/ + length: number; + /** * Extract the subset of this array, starting at start index. If end is specified, extract up to but not including end index. * @param start