mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-08 19:20:05 +00:00
Adds missing reverse function.
This commit is contained in:
1
types/collectionsjs/index.d.ts
vendored
1
types/collectionsjs/index.d.ts
vendored
@@ -30,6 +30,7 @@ export default class Collection {
|
||||
reduce(callback: (previous: any, current: any) => any, initial: any): any;
|
||||
reject(callback: (item: any) => any): Collection;
|
||||
remove(item: any): boolean;
|
||||
reverse(): Collection;
|
||||
skip(count: number): Collection;
|
||||
slice(start: number, end?: number): Collection;
|
||||
sort(compare?: () => any): Collection;
|
||||
|
||||
Reference in New Issue
Block a user