@@ -72,7 +72,7 @@ export default new (class {
* 服务初始化完成时触发
*/
onReady() {
- return new Promise((resolve) => {
+ return new Promise<typeof this.config>((resolve) => {
this.onload.finally(() => {
if (this.isReady) {
resolve(this.onload)