Skip to content
This repository has been archived by the owner on Apr 7, 2020. It is now read-only.

Commit

Permalink
feat: expose pagination (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicky Lenaers authored Mar 5, 2019
1 parent 6dc7c8a commit 18bbe4b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/index.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
import { Registry } from './index';
import { Registry, PageType, PageArgsMap } from './index';

describe('index', () => {

it('should export Registry', () => {
expect(Registry).toBeTruthy();
});

it('should export PageType', () => {
expect(PageType).toBeTruthy();
});

it('should export PageArgsMap', () => {
expect(PageArgsMap).toBeTruthy();
});
});
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export { Registry } from './registry';
export { PageType } from './pagination/types/page';
export { PageArgsMap } from './pagination/types/page-args';

0 comments on commit 18bbe4b

Please sign in to comment.