style: 27333 类型跟进

This commit is contained in:
手瓜一十雪 committed 2024-08-26 01:24:22 +08:00
1 parent 8db3b5d82d
commit e5e8fb3d9b
21 files changed
+84 -627

No files matched your search

+1 -1
View File
@@ -98,7 +98,7 @@ export class LegacyNTEventWrapper {
...args: Parameters<EventType>
): Promise<Awaited<ReturnType<EventType>>> {
const EventFunc = this.createEventFunction<EventType>(EventName);
return EventFunc!(...args)
return EventFunc!(...args);
}
async RegisterListen<ListenerType extends (...args: any[]) => void>(