Chore: Remove unused variables

This commit is contained in:
Pieter Vander Vennet 2024-01-24 23:45:20 +01:00
parent 1a415f4815
commit e68b31e267
42 changed files with 48 additions and 106 deletions

View file

@ -698,7 +698,7 @@ class SvgToPdfPage {
}
for (const mapSpec of mapSpecs) {
await this.prepareMap(mapSpec, !this.options?.disableDataLoading)
await this.prepareMap(mapSpec)
}
}
@ -840,7 +840,7 @@ class SvgToPdfPage {
/**
* Replaces a mapSpec with the appropriate map
*/
private async prepareMap(mapSpec: SVGTSpanElement, loadData: boolean): Promise<void> {
private async prepareMap(mapSpec: SVGTSpanElement): Promise<void> {
if (this.options.disableMaps) {
return
}