Skip to content

Commit

Permalink
fix(typescript): minor typescript improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed Oct 18, 2021
1 parent 63f3f69 commit 0eefd22
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/finders/request/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function caseRequestModeFinder(
line_index: index,
key: _skey,
mode: _key
};
} as IBlock;
}
return undefined;
}
Expand All @@ -49,7 +49,7 @@ export default function caseRequestModeFinder(
line_index: index,
key: _key,
mode: 'property'
};
} as IBlock;
}

// Headers matching
Expand Down Expand Up @@ -96,7 +96,7 @@ export default function caseRequestModeFinder(
line_index: index,
key: _key,
mode: 'property'
};
} as IBlock;
}
} else {
// Method matching
Expand Down

0 comments on commit 0eefd22

Please sign in to comment.