fix: review comments

This commit is contained in:
Sidharth Vinod
2022-08-22 17:12:05 +05:30
parent 6291e4dcdd
commit 9a0d5e31b7
7 changed files with 26 additions and 44 deletions

View File

@@ -134,7 +134,7 @@ export const setConfig = (conf: MermaidConfig): MermaidConfig => {
*
* @returns {any} - The currentConfig
*/
export const getConfig = () => {
export const getConfig = (): MermaidConfig => {
return assignWithDepth({}, currentConfig);
};
/**