Skip to content

Commit

Permalink
Add onNoMatch: "throwException" to types
Browse files Browse the repository at this point in the history
It looks like this was added as an option and included in the documentation but didn't get added to the types.
  • Loading branch information
asztal authored Sep 11, 2020
1 parent 228ca2b commit 855c8a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface RequestHandler {

interface MockAdapterOptions {
delayResponse?: number;
onNoMatch?: 'passthrough';
onNoMatch?: 'passthrough' | 'throwException';
}

interface AsymmetricMatcher {
Expand Down

0 comments on commit 855c8a5

Please sign in to comment.