mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: context: extend from cordis.context
This commit is contained in:
1 file changed
+1
-1
@@ -26,7 +26,7 @@ export type MainScope = cordis.MainScope<Context>;
|
|||||||
|
|
||||||
export type { Disposable, ScopeStatus, Plugin } from 'cordis';
|
export type { Disposable, ScopeStatus, Plugin } from 'cordis';
|
||||||
|
|
||||||
export interface Context {
|
export interface Context extends cordis.Context {
|
||||||
[Context.events]: Events<Context>;
|
[Context.events]: Events<Context>;
|
||||||
loader: Loader;
|
loader: Loader;
|
||||||
Route: typeof import('./service/server').Route;
|
Route: typeof import('./service/server').Route;
|
||||||
|
|||||||
Reference in new issue
Block a user