diff --git a/types/Promise.d.ts b/types/Promise.d.ts index 17c2dcb..efe84a6 100644 --- a/types/Promise.d.ts +++ b/types/Promise.d.ts @@ -608,6 +608,11 @@ interface PromiseConstructor { * end) * ``` */ + fromEvent>( + this: void, + event: RBXScriptSignal<(...args: T) => void>, + predicate?: (...args: T) => boolean, + ): Promise; fromEvent(this: void, event: RBXScriptSignal<(value: T) => void>, predicate?: (value: T) => boolean): Promise; fromEvent(this: void, event: RBXScriptSignal<() => void>, predicate?: () => boolean): Promise; fromEvent(