Skip to content

Commit cde86ea

Browse files
committed
fixes broken build
1 parent 80708b1 commit cde86ea

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/interfaces/Cursor.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export const start = undefined;
22

3-
type Cursor = string | typeof start | null;
3+
type Cursor = string | typeof start;
4+
45

56
export default Cursor;

src/interfaces/PaginatedResponse.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
import Cursor from './Cursor';
21
import Item from './Item';
32

43
export interface PaginationMetadata {
54
readonly hasAfter: boolean;
65
readonly hasBefore: boolean;
7-
readonly after: Cursor;
8-
readonly before: Cursor;
6+
readonly after: string | null;
7+
readonly before: string | null;
98
readonly totalCount: number;
109
}
1110
export default interface PaginatedResponse<I extends Item> {

0 commit comments

Comments
 (0)