core&ui: update renderer interface

This commit is contained in:
undefined committed 2023-12-31 05:31:40 +08:00
1 parent 396a446937
commit 08839fa0ea
4 files changed
+45 -46

No files matched your search

+1 -1
View File
@@ -768,7 +768,6 @@ export interface Lib extends Record<string, any> {
rank: typeof import('./lib/rank');
rating: typeof import('./lib/rating');
testdataConfig: typeof import('./lib/testdataConfig');
template?: any;
problemSearch: ProblemSearch;
}
@@ -788,6 +787,7 @@ export interface ModuleInterfaces {
callback: (this: Handler, args: Record<string, any>) => Promise<OAuthUserResponse>;
};
hash: (password: string, salt: string, user: User) => boolean | string;
render: (name: string, state: any) => Promise<string>;
}
export interface HydroGlobal {