]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/core/rest/component-pagination.model.ts
Don't display account setup modal on signup
[github/Chocobozzz/PeerTube.git] / client / src / app / core / rest / component-pagination.model.ts
index bcb73ed0f4a030d3019031e3d36f3ea3e2b9d831..59d70c1e853afd18bcc39293e3571959179490d6 100644 (file)
@@ -4,7 +4,7 @@ export interface ComponentPagination {
   totalItems: number
 }
 
-export type ComponentPaginationLight = Omit<ComponentPagination, 'totalItems'>
+export type ComponentPaginationLight = Omit<ComponentPagination, 'totalItems'> & { totalItems?: number }
 
 export function hasMoreItems (componentPagination: ComponentPagination) {
   // No results