Skip to content

Commit e3dbf9f

Browse files
author
men
committed
Added basic Typescript Support
1 parent f025183 commit e3dbf9f

File tree

3 files changed

+1367
-1372
lines changed

3 files changed

+1367
-1372
lines changed

PowerArray.d.ts

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
interface Array<T> {
2+
Where(whereConditions: Object, keepOrder? : boolean): Array<T>;
3+
WhereIndexes(whereConditions: Object, keepOrder : boolean) : Array<Number>;
4+
RunEach(task: Function, callback?: Function, keepOrder?: boolean, progress?: Function);
5+
getPropertyFlat(property: string, keepOrder?: boolean, includeDuplicates?: boolean, includeUndefineds?: boolean);
6+
First(whereConditions);
7+
}
8+
9+
declare function In(list: any): any;
10+
declare function Like(a: any): any;
11+
declare function NotEqualTo3(a: any): any;

0 commit comments

Comments
 (0)