fix: error TS2339: Property 'rows' does not exist on type 'unknown'.
This commit is contained in:
parent
837865b880
commit
ce5690e25c
@ -4,7 +4,7 @@ import { Action } from '@nocobase/resourcer';
|
|||||||
|
|
||||||
export type Next = () => Promise<any>;
|
export type Next = () => Promise<any>;
|
||||||
|
|
||||||
export type Context = Koa.Context & {
|
export interface Context extends Koa.Context {
|
||||||
db: Database;
|
db: Database;
|
||||||
action: Action;
|
action: Action;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user