Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
Co-authored-by: Voltrex <62040526+VoltrexMaster@users.noreply.github.com>
  • Loading branch information
bmeck and VoltrexKeyva authored Apr 11, 2021
1 parent 08d8843 commit 3b0f73d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions lib/path.js
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ const posix = {

/**
* @param {string} path
* @param {string} ext
* @param {string} [ext]
* @returns {string}
*/
basename(path, ext) {
Expand Down Expand Up @@ -1442,7 +1442,13 @@ const posix = {

/**
* @param {string} path
* @returns {{ dir: string; root: string; base: string; name: string; ext: string }}
* @returns {{
* dir: string;
* root: string;
* base: string;
* name: string;
* ext: string;
* }}
*/
parse(path) {
validateString(path, 'path');
Expand Down

0 comments on commit 3b0f73d

Please sign in to comment.