Introduce stricter linting

This commit is contained in:
Sidharth Vinod
2022-09-02 11:44:06 +05:30
parent 5597cf45bf
commit 269722fb65
27 changed files with 208 additions and 75 deletions

View File

@@ -45,7 +45,7 @@ const getStyles = (
lineColor: string;
} & FlowChartStyleOptions
) => {
let diagramStyles: string = '';
let diagramStyles = '';
if (type in themes && themes[type as keyof typeof themes]) {
diagramStyles = themes[type as keyof typeof themes](options);
} else {