mirror of
https://github.com/jzillmann/pdf-to-markdown.git
synced 2024-12-01 04:04:07 +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));
|
||
|
}
|