core: koa.context typings

pull/375/head^2
undefined 2 years ago
parent 57cd171e64
commit c6837a16e7

@ -66,7 +66,7 @@ interface HydroContext {
args: Record<string, any>; args: Record<string, any>;
UiContext: Record<string, any>; UiContext: Record<string, any>;
} }
export interface KoaContext extends Koa.DefaultContext { export interface KoaContext extends Koa.Context {
HydroContext: HydroContext; HydroContext: HydroContext;
handler: any; handler: any;
session: Record<string, any>; session: Record<string, any>;

Loading…
Cancel
Save