initial
This commit is contained in:
12
src/types/common.ts
Normal file
12
src/types/common.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
export interface UniqueItem{
|
||||
id: number;
|
||||
}
|
||||
|
||||
export interface PageControl<T>{
|
||||
items: T[] | null;
|
||||
hasNext: boolean;
|
||||
hasPrevious: boolean;
|
||||
nextPage(): void;
|
||||
previousPage(): void;
|
||||
}
|
||||
Reference in New Issue
Block a user