mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +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>;
|
||||
UiContext: Record<string, any>;
|
||||
}
|
||||
export interface KoaContext extends Koa.DefaultContext {
|
||||
export interface KoaContext extends Koa.Context {
|
||||
HydroContext: HydroContext;
|
||||
handler: any;
|
||||
session: Record<string, any>;
|
||||
|
||||
Reference in new issue
Block a user