mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-25 10:20:06 +02:00
remove typeof
This commit is contained in:

parent
f036d58ec3
commit
bfe3f309d2
@@ -34,7 +34,7 @@ export function addSVGa11yTitleDescription(
|
||||
a11yDesc: string | null | undefined,
|
||||
baseId: string
|
||||
) {
|
||||
if (typeof svg.insert === 'undefined') {
|
||||
if (svg.insert === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user