mirror of
https://github.com/jzillmann/pdf-to-markdown.git
synced 2024-12-03 21:26:46 +01:00
6 lines
145 B
TypeScript
6 lines
145 B
TypeScript
import Item from 'src/Item';
|
|
|
|
export function items(page: number, data: object[]): Item[] {
|
|
return data.map((data) => new Item(page, data));
|
|
}
|