diff --git a/index.d.ts b/index.d.ts index 32f15e12..da907ab3 100644 --- a/index.d.ts +++ b/index.d.ts @@ -82,6 +82,7 @@ export interface TestApi { throw(error: Error): TestApiWithEffectsTesters; takeEvery: TakeHelperProgresser; takeLatest: TakeHelperProgresser; + takeLeading: TakeHelperProgresser; throttle: ThrottleHelperProgresser; } @@ -94,6 +95,7 @@ export type TestApiWithEffectsTesters = TestApi & TestApiEffects & { throttleFork(ms: number, action: E.Pattern, fn: Function, ...args: any[]): TestApi; takeEveryEffect(action: E.Pattern, fn: Function, ...args: any[]): TestApi; takeLatestEffect(action: E.Pattern, fn: Function, ...args: any[]): TestApi; + takeLeadingEffect(action: E.Pattern, fn: Function, ...args: any[]): TestApi; throttleEffect(ms: number, action: E.Pattern, fn: Function, ...args: any[]): TestApi; is(expectation: V): TestApi; inspect(expectation: (yieldedValue: V) => void): TestApi;