refactor: enhanced type definition for other methods

This commit is contained in:
Seijo Cecilia
2024-08-26 15:37:17 +08:00
parent 7671174a96
commit 505a023031
11 changed files with 102 additions and 84 deletions

View File

@@ -231,8 +231,7 @@ export class NTQQUserApi {
}
async getUserDetailInfoByUinV2(Uin: string) {
return await this.core.eventWrapper.callNoListenerEvent<(Uin: string) => Promise<UserDetailInfoByUinV2>>
('NodeIKernelProfileService/getUserDetailInfoByUin', Uin);
return await this.core.eventWrapper.callNoListenerEvent('NodeIKernelProfileService/getUserDetailInfoByUin', Uin);
}
async forceFetchClientKey() {