fix: error TS2339: Property 'rows' does not exist on type 'unknown'.

This commit is contained in:
chenos 2021-02-22 11:20:27 +08:00
parent 837865b880
commit ce5690e25c

View File

@ -4,7 +4,7 @@ import { Action } from '@nocobase/resourcer';
export type Next = () => Promise<any>;
export type Context = Koa.Context & {
export interface Context extends Koa.Context {
db: Database;
action: Action;
};