fix(types): fix tsx ref component instance type (#2486)
This commit is contained in:
		
							parent
							
								
									092bdcdf58
								
							
						
					
					
						commit
						84d4357f6f
					
				
							
								
								
									
										2
									
								
								packages/runtime-dom/types/jsx.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								packages/runtime-dom/types/jsx.d.ts
									
									
									
									
										vendored
									
									
								
							@ -1309,7 +1309,7 @@ type ReservedProps = {
 | 
				
			|||||||
  ref?:
 | 
					  ref?:
 | 
				
			||||||
    | string
 | 
					    | string
 | 
				
			||||||
    | RuntimeCore.Ref
 | 
					    | RuntimeCore.Ref
 | 
				
			||||||
    | ((ref: Element | RuntimeCore.ComponentInternalInstance | null) => void)
 | 
					    | ((ref: Element | RuntimeCore.ComponentPublicInstance | null) => void)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
type ElementAttrs<T> = T & ReservedProps
 | 
					type ElementAttrs<T> = T & ReservedProps
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user