export interface PagedResults { items: T[] /// Set this to undefined to tell the app that there are no more items metadata?: unknown } export const EndOfPageResults: PagedResults = Object.freeze({ items: [], metadata: undefined, })