mirror of
https://github.com/jzillmann/pdf-to-markdown.git
synced 2025-06-25 03:51:33 +02:00
Fix not used locals
This commit is contained in:
parent
6327d74512
commit
ddac96299d
@ -97,7 +97,7 @@ export default class CalculateStatistics extends ItemTransformer {
|
|||||||
}
|
}
|
||||||
page = item.page;
|
page = item.page;
|
||||||
});
|
});
|
||||||
const mostUsedDistance = parseInt(getMostUsedKey(distanceToOccurrence));
|
// const mostUsedDistance = parseInt(getMostUsedKey(distanceToOccurrence));
|
||||||
|
|
||||||
const fontIdToName: string[] = [];
|
const fontIdToName: string[] = [];
|
||||||
const fontToType = new Map<string, FontType>();
|
const fontToType = new Map<string, FontType>();
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
import Item from 'src/Item';
|
|
||||||
import { flatMap, flatten, groupBy } from 'src/support/functional';
|
import { flatMap, flatten, groupBy } from 'src/support/functional';
|
||||||
import { items } from 'test/testItems';
|
|
||||||
|
|
||||||
test('flatMap', async () => {
|
test('flatMap', async () => {
|
||||||
expect(flatMap([], (e) => e)).toEqual([]);
|
expect(flatMap([], (e) => e)).toEqual([]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user