Fix linters

This commit is contained in:
Nikolay Rozhkov 2023-06-27 16:17:55 +03:00
parent d4d7ce5a4b
commit 0bbf0555d3
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ export const draw = function (text: string, id: string, _version: string, diagOb
// Map config options to alignment functions
const alignmentsMap: Map<
SankeyNodeAlignment,
(node: d3SankeyNode<{}, {}>, n: number) => number
(node: d3SankeyNode<object, object>, n: number) => number
> = new Map([
[SankeyNodeAlignment.left, d3SankeyLeft],
[SankeyNodeAlignment.right, d3SankeyRight],