Skip to content

Commit

Permalink
Adjust getExtension JSDoc type
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejkustra committed Jun 26, 2023
1 parent 1f5354f commit 077c1a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/str.js
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ const Str = {
* without query parameters
*
* @param {String} url
* @returns {String}
* @returns {String|undefined}
*/
getExtension(url) {
return _.first(_.last(url.split('.')).split('?')).toLowerCase();
Expand Down

0 comments on commit 077c1a6

Please sign in to comment.