chore: resolve eslint warnings in packages/parser/src/language/common/valueConverter.ts

This commit is contained in:
Sidharth Vinod
2025-04-19 10:21:45 +05:30
parent cfe1723c6c
commit 6462f73bdb

View File

@@ -31,9 +31,8 @@ export abstract class AbstractMermaidValueConverter extends DefaultValueConverte
): ValueType {
let value: ValueType | undefined = this.runCommonConverter(rule, input, cstNode);
if (value === undefined) {
value = this.runCustomConverter(rule, input, cstNode);
}
value ??= this.runCustomConverter(rule, input, cstNode);
if (value === undefined) {
return super.runConverter(rule, input, cstNode);
}