Skip to content

Commit

Permalink
core: context: extend from cordis.context
Browse files Browse the repository at this point in the history
  • Loading branch information
undefined-moe committed May 14, 2024
1 parent bb87ecb commit 4256978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hydrooj/src/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export type MainScope = cordis.MainScope<Context>;

export type { Disposable, ScopeStatus, Plugin } from 'cordis';

export interface Context {
export interface Context extends cordis.Context {
[Context.events]: Events<Context>;
loader: Loader;
Route: typeof import('./service/server').Route;
Expand Down

0 comments on commit 4256978

Please sign in to comment.