mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 14:59:53 +02:00
move default_info_db into infoDbOF
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
import { DEFAULT_INFO_DB, type InfoDB } from './infoTypes.js';
|
||||
import type { InfoFields, InfoDB } from './infoTypes.js';
|
||||
|
||||
export const DEFAULT_INFO_DB: InfoFields = {
|
||||
info: false,
|
||||
} as const;
|
||||
|
||||
let info: boolean = DEFAULT_INFO_DB.info;
|
||||
|
||||
|
@@ -4,10 +4,6 @@ export interface InfoFields {
|
||||
info: boolean;
|
||||
}
|
||||
|
||||
export const DEFAULT_INFO_DB: InfoFields = {
|
||||
info: false,
|
||||
} as const;
|
||||
|
||||
export interface InfoDB extends DiagramDB {
|
||||
clear: () => void;
|
||||
setInfo: (info: boolean) => void;
|
||||
|
Reference in New Issue
Block a user