fix(types): KeepAlive match pattern should allow mixed array
This commit is contained in:
		
							parent
							
								
									92f11d6740
								
							
						
					
					
						commit
						3007d5b4ca
					
				@ -43,7 +43,7 @@ import { ComponentRenderContext } from '../componentPublicInstance'
 | 
			
		||||
import { devtoolsComponentAdded } from '../devtools'
 | 
			
		||||
import { isAsyncWrapper } from '../apiAsyncComponent'
 | 
			
		||||
 | 
			
		||||
type MatchPattern = string | RegExp | string[] | RegExp[]
 | 
			
		||||
type MatchPattern = string | RegExp | (string | RegExp)[]
 | 
			
		||||
 | 
			
		||||
export interface KeepAliveProps {
 | 
			
		||||
  include?: MatchPattern
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user