Skip to content

Instantly share code, notes, and snippets.

View eduardoalcantara's full-sized avatar

Eduardo Alcântara eduardoalcantara

View GitHub Profile
@eduardoalcantara
eduardoalcantara / query-options.ts
Created February 6, 2019 12:25 — forked from krishna-acondy/query-options.ts
Query Options Type
export interface QueryBuilder {
toQueryMap: () => Map<string, string>;
toQueryString: () => string;
}
export class QueryOptions implements QueryBuilder {
public pageNumber: number;
public pageSize: number;
constructor() {