From a292e6b8445cfc36b16f7f4eb05760442ea483d9 Mon Sep 17 00:00:00 2001 From: Siarhei Pakhuta Date: Fri, 12 Jun 2020 21:25:38 +0300 Subject: [PATCH] update (redux-saga-tester): minor change (#45325) Add return type for "sagaTester.waitFor" method https://github.com/wix/redux-saga-tester/pull/49/commits/13c0f044012189ef78cda88883d63332f73df34e#diff-04c6e90faac2675aa89e2176d2eec7d8R163 --- types/redux-saga-tester/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/redux-saga-tester/index.d.ts b/types/redux-saga-tester/index.d.ts index d7772626ef..8ff00565a5 100644 --- a/types/redux-saga-tester/index.d.ts +++ b/types/redux-saga-tester/index.d.ts @@ -43,9 +43,10 @@ export default class SagaTester { /** * Returns a promise that will resolve if the specified action is dispatched to the store. + * @param actionType Action name. * @param futureOnly Causes waitFor to only resolve if the action is called in the future. */ - waitFor(actionType: string, futureOnly?: boolean): PromiseLike; + waitFor(actionType: string, futureOnly?: boolean): PromiseLike; /** * Returns whether the specified was dispatched in the past.