Skip to content

Commit

Permalink
type: Fix the issue the MockerProxyRoute type does not work for stric…
Browse files Browse the repository at this point in the history
…tNullChecks. #124
  • Loading branch information
jaywcjlove committed Aug 13, 2020
1 parent d62b44b commit a630439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export type MockerResult = string | number| Array<any> | Record<string, any> | M
* }
* ```
*/
export interface MockerProxyRoute extends Record<string, MockerResult> {
export type MockerProxyRoute = Record<string, MockerResult> & {
/**
* This is the option parameter setting for apiMocker
* Priority processing.
Expand Down

0 comments on commit a630439

Please sign in to comment.