File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,9 @@ The following fields are extracted for Invoice Splitter V1:
134134** invoicePageGroups** ([ PageGroup] ( #page-group ) [ ] ): List of page indexes that belong to the same invoice in the PDF.
135135
136136``` js
137- console .log (result .document .inference .prediction .invoicePageGroups .toString ());
137+ for (const invoicePageGroupsElem of result .document .inference .prediction .invoicePageGroups ){
138+ console .log (invoicePageGroupsElem .pageIndexes .join (" , " ));
139+ }
138140```
139141
140142# Questions?
Original file line number Diff line number Diff line change 1313 "lint" : " eslint './src/**/*.ts' --report-unused-disable-directives && echo 'Your .ts files look good.'" ,
1414 "docs" : " typedoc --out docs/_build ./src/index.ts" ,
1515 "docs-for-dist" : " typedoc --out docs/_build ./src/index.ts && cp -r ./docs/code_samples ./docs/_build/" ,
16- "prepare " : " husky install"
16+ "postinstall " : " husky install"
1717 },
1818 "files" : [
1919 " src/*" ,
You can’t perform that action at this time.
0 commit comments