Skip to content

Commit

Permalink
Merge pull request #265 from jp928/master
Browse files Browse the repository at this point in the history
Add takeLeading in the index.d.ts
  • Loading branch information
jp928 authored Mar 30, 2019
2 parents dc134ea + 6120d0d commit a6a3b04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export interface TestApi {
throw(error: Error): TestApiWithEffectsTesters;
takeEvery: TakeHelperProgresser;
takeLatest: TakeHelperProgresser;
takeLeading: TakeHelperProgresser;
throttle: ThrottleHelperProgresser;
}

Expand All @@ -94,6 +95,7 @@ export type TestApiWithEffectsTesters = TestApi & TestApiEffects & {
throttleFork(ms: number, action: E.Pattern<any>, fn: Function, ...args: any[]): TestApi;
takeEveryEffect(action: E.Pattern<any>, fn: Function, ...args: any[]): TestApi;
takeLatestEffect(action: E.Pattern<any>, fn: Function, ...args: any[]): TestApi;
takeLeadingEffect(action: E.Pattern<any>, fn: Function, ...args: any[]): TestApi;
throttleEffect(ms: number, action: E.Pattern<any>, fn: Function, ...args: any[]): TestApi;
is<V>(expectation: V): TestApi;
inspect<V>(expectation: (yieldedValue: V) => void): TestApi;
Expand Down

0 comments on commit a6a3b04

Please sign in to comment.