mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-12-04 11:34:23 +01:00
#3336 Merged typescript changes
This commit is contained in:
@@ -103,7 +103,8 @@ const getStyles = (
|
||||
`;
|
||||
};
|
||||
|
||||
export const addStylesForDiagram = (type, diagramTheme) => {
|
||||
export const addStylesForDiagram = (type: any, diagramTheme: any) => {
|
||||
// @ts-ignore
|
||||
themes[type] = diagramTheme;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user