mirror of
				https://github.com/pure-admin/vue-pure-admin.git
				synced 2025-11-03 13:44:47 +08:00 
			
		
		
		
	fix: axios type
This commit is contained in:
		
							parent
							
								
									d2ddb49314
								
							
						
					
					
						commit
						7103b04283
					
				
							
								
								
									
										12
									
								
								src/utils/http/types.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								src/utils/http/types.d.ts
									
									
									
									
										vendored
									
									
								
							@ -34,6 +34,14 @@ export default class PureHttp {
 | 
			
		||||
    param?: AxiosRequestConfig,
 | 
			
		||||
    axiosConfig?: PureHttpRequestConfig
 | 
			
		||||
  ): Promise<T>;
 | 
			
		||||
  post<T>(url: string, params?: T, config?: PureHttpRequestConfig): Promise<T>;
 | 
			
		||||
  get<T>(url: string, params?: T, config?: PureHttpRequestConfig): Promise<T>;
 | 
			
		||||
  post<T, P>(
 | 
			
		||||
    url: string,
 | 
			
		||||
    params?: T,
 | 
			
		||||
    config?: PureHttpRequestConfig
 | 
			
		||||
  ): Promise<P>;
 | 
			
		||||
  get<T, P>(
 | 
			
		||||
    url: string,
 | 
			
		||||
    params?: T,
 | 
			
		||||
    config?: PureHttpRequestConfig
 | 
			
		||||
  ): Promise<P>;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user