diff --git a/src/common/utils/EventTask.ts b/src/common/utils/EventTask.ts index 2bdcc284..319bebd8 100644 --- a/src/common/utils/EventTask.ts +++ b/src/common/utils/EventTask.ts @@ -95,7 +95,7 @@ export class NTEventWrapper { }); } async CallNoListenerEvent Promise,>(EventName = '', timeout: number = 3000, ...args: Parameters) { - return new Promise>(async (resolve, reject) => { + return new Promise>>(async (resolve, reject) => { const EventFunc = this.CreatEventFunction(EventName); let complete = false; const Timeouter = setTimeout(() => {