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