refactor: enhanced type definition for other methods

This commit is contained in:
Seijo Cecilia committed 2024-08-26 15:37:17 +08:00
1 parent b16a429686
commit 0bc4f6fd96
11 files changed
+102 -84

No files matched your search

+1 -3
View File
@@ -28,9 +28,7 @@ export class NTQQSystemApi {
//1-2-162b9b42-65b9-4405-a8ed-2e256ec8aa50
async getArkJsonCollection(cid: string) {
return await this.core.eventWrapper.callNoListenerEvent<(cid: string) => Promise<GeneralCallResult & {
arkJson: string
}>>('NodeIKernelCollectionService/collectionArkShare', '1717662698058');
return await this.core.eventWrapper.callNoListenerEvent('NodeIKernelCollectionService/collectionArkShare', '1717662698058');
}
async BootMiniApp(appfile: string, params: string) {