mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 15:30:03 +02:00
Fix linters
This commit is contained in:
@@ -75,7 +75,7 @@ export const draw = function (text: string, id: string, _version: string, diagOb
|
|||||||
// Map config options to alignment functions
|
// Map config options to alignment functions
|
||||||
const alignmentsMap: Map<
|
const alignmentsMap: Map<
|
||||||
SankeyNodeAlignment,
|
SankeyNodeAlignment,
|
||||||
(node: d3SankeyNode<{}, {}>, n: number) => number
|
(node: d3SankeyNode<object, object>, n: number) => number
|
||||||
> = new Map([
|
> = new Map([
|
||||||
[SankeyNodeAlignment.left, d3SankeyLeft],
|
[SankeyNodeAlignment.left, d3SankeyLeft],
|
||||||
[SankeyNodeAlignment.right, d3SankeyRight],
|
[SankeyNodeAlignment.right, d3SankeyRight],
|
||||||
|
Reference in New Issue
Block a user