mirror of
				https://github.com/mermaid-js/mermaid.git
				synced 2025-11-04 04:44:08 +01: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