mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-26 19:04:13 +08:00
Merge pull request #2723 from pine613/feature/zepto/length
Add length property
This commit is contained in:
7
zepto/zepto.d.ts
vendored
7
zepto/zepto.d.ts
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user