rename `inf` into `toggle` for better readability in infoDb

This commit is contained in:
Yokozuna59 2023-06-13 13:27:15 +03:00
parent 171d7a04f4
commit f0b1529727
1 changed files with 2 additions and 2 deletions

View File

@ -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;