core: 优化钩子逻辑

This commit is contained in:
undefined committed 2020-09-06 11:31:49 +08:00
1 parent 03dc8903e2
commit f2f0212947
27 files changed
+205 -124

No files matched your search

-2
View File
@@ -455,9 +455,7 @@ declare global {
ui: UI,
error: typeof import('./error'),
locales: Dict<Dict<string>>,
postInit: Array<() => Promise<any>>,
},
onDestory: Array<() => void | Promise<void>>,
addons: string[],
}
}