mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-03 12:25:22 +01:00
add undefined to getConfig return type until handle other diagrams
This commit is contained in:
@@ -19,7 +19,7 @@ export interface DiagramDB {
|
||||
// config
|
||||
reset?: () => void;
|
||||
setConfig?: (config: BaseDiagramConfig) => void;
|
||||
getConfig?: () => Required<BaseDiagramConfig>;
|
||||
getConfig?: () => BaseDiagramConfig | undefined;
|
||||
|
||||
// db
|
||||
clear?: () => void;
|
||||
|
||||
Reference in New Issue
Block a user