Skip to content

Commit d568658

Browse files
committed
Fix typo in SVGElement type annotation
1 parent e2711df commit d568658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/heatmap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export default function makeHeatmap(): Heatmap {
237237
let effectiveMargins: HeatmapMargins = { top: 0, right: 0, bottom: 0, left: 0 }
238238

239239
// D3 selections containing DOM elements
240-
let svg: d3.Selection<SVGSVGElement, any, any, any> | null = null
240+
let svg: d3.Selection<SVGElement, any, any, any> | null = null
241241
let hoverTooltip: d3.Selection<HTMLDivElement, any, any, any> | null = null
242242
let selectionTooltip: d3.Selection<HTMLDivElement, any, any, any> | null = null
243243

0 commit comments

Comments
 (0)