7 lines
134 B
TypeScript
7 lines
134 B
TypeScript
export default (id: string, totalItems: any, orderedItems: any) => ({
|
|
id,
|
|
type: 'OrderedCollection',
|
|
totalItems,
|
|
orderedItems
|
|
});
|