refactor(types): improve code readability & friendly to type hints (#1560)
This commit is contained in:
		
							parent
							
								
									cb6a0915c5
								
							
						
					
					
						commit
						2b60870f8a
					
				@ -93,8 +93,7 @@ type VNodeChildAtom =
 | 
				
			|||||||
  | undefined
 | 
					  | undefined
 | 
				
			||||||
  | void
 | 
					  | void
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export interface VNodeArrayChildren
 | 
					export type VNodeArrayChildren = Array<VNodeArrayChildren | VNodeChildAtom>
 | 
				
			||||||
  extends Array<VNodeArrayChildren | VNodeChildAtom> {}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
export type VNodeChild = VNodeChildAtom | VNodeArrayChildren
 | 
					export type VNodeChild = VNodeChildAtom | VNodeArrayChildren
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user