mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08: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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user