Update packages/mermaid/src/diagrams/git/gitGraphAst.ts

Co-authored-by: Sidharth Vinod <github@sidharth.dev>
This commit is contained in:
Austin-Fulbright
2024-07-27 04:04:23 -04:00
committed by GitHub
parent 346efdd384
commit a0207f9195

View File

@@ -80,7 +80,7 @@ export const getOptions = function () {
return state.records.options;
};
export const commit = function (msg: string, id: string, type: number, tags: string[] | undefined) {
export const commit = function (msg: string, id: string, type: number, tags?: string[]) {
log.info('commit', msg, id, type, tags);
log.debug('Entering commit:', msg, id, type, tags);
const config = getConfig();