Skip to content

doc: fix type of atime/mtime

Rodrigo Muino Tomonari requested to merge github/fork/exoego/patch-1 into master

It seems that fs.unlinkSync and fs.utimesSync can accept number, Date or string as same as fs.unlink and fs.utimes.

https://github.com/nodejs/node/blob/3a2e75d9a5c31d20e429d505b82dd182e33f459a/lib/fs.js#L1177-L1196

https://github.com/nodejs/node/blob/3a2e75d9a5c31d20e429d505b82dd182e33f459a/lib/fs.js#L1189-L1206

Checklist

Merge request reports

Loading