mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: koa.context typings
This commit is contained in:
1 parent
57cd171e64
commit
c6837a16e7
1 file changed
+1
-1
@@ -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>;
|
||||||
|
|||||||
Reference in new issue
Block a user