mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 11:54:10 +00:00 
			
		
		
		
	fix: extend ExtendableContext instead of BaseContext
This commit is contained in:
		
							parent
							
								
									7e474161bb
								
							
						
					
					
						commit
						4260e7c83c
					
				@ -1,7 +1,7 @@
 | 
			
		||||
import { BaseContext } from 'koa';
 | 
			
		||||
import { ExtendableContext } from 'koa';
 | 
			
		||||
import { Strapi } from '../../';
 | 
			
		||||
 | 
			
		||||
interface PolicyContext extends BaseContext {
 | 
			
		||||
interface PolicyContext extends ExtendableContext {
 | 
			
		||||
  type: string;
 | 
			
		||||
  is(name): boolean;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user