core: hot reload for ui modules

This commit is contained in:
undefined committed 2022-09-21 15:38:36 +08:00
1 parent 26364a717c
commit d9a28d9152
5 files changed
+43 -34

No files matched your search

-1
View File
@@ -705,7 +705,6 @@ export interface Lib extends Record<string, any> {
export type UIInjectableFields = 'ProblemAdd' | 'Nav' | 'UserDropdown';
export interface UI {
manifest: Dictionary<string>,
template: Dictionary<string>,
nodes: Record<UIInjectableFields, any[]>,
getNodes: typeof import('./lib/ui').getNodes,