fix: extend ExtendableContext instead of BaseContext

This commit is contained in:
Ben Pickford 2023-04-18 20:39:43 +10:00
parent 7e474161bb
commit 4260e7c83c

View File

@ -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;
}