Skip to content

Commit

Permalink
Renames interface to more suitable name
Browse files Browse the repository at this point in the history
  • Loading branch information
coconutcraig committed Nov 15, 2018
1 parent cc99c49 commit 88d5a90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/resources.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ export interface Resource {
sortBy(sortable: string): this;
}

export interface Listable extends Resource {
export interface Pageable extends Resource {
on(page: number): this;

take(limit: number): this;
}

export interface UserResource extends Listable {
export interface UserResource extends Pageable {
assigned(assigned: boolean): this;

at(location: number | string): this;
Expand Down

0 comments on commit 88d5a90

Please sign in to comment.