mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 14:59:53 +02:00
rename inf
into toggle
for better readability in infoDb
This commit is contained in:
@@ -4,8 +4,8 @@ import type { InfoDB } from './infoTypes.js';
|
||||
|
||||
let info = false;
|
||||
|
||||
export const setInfo = (inf: boolean): void => {
|
||||
info = inf;
|
||||
export const setInfo = (toggle: boolean): void => {
|
||||
info = toggle;
|
||||
};
|
||||
|
||||
export const getInfo = (): boolean => info;
|
||||
|
Reference in New Issue
Block a user