mirror of
https://github.com/strapi/strapi.git
synced 2025-07-31 04:45:54 +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 '../../';
|
import { Strapi } from '../../';
|
||||||
|
|
||||||
interface PolicyContext extends BaseContext {
|
interface PolicyContext extends ExtendableContext {
|
||||||
type: string;
|
type: string;
|
||||||
is(name): boolean;
|
is(name): boolean;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user