diff --git a/doc/api/path.md b/doc/api/path.md index 27ca6be6fed7ac..dfe68f1d3cfcb6 100644 --- a/doc/api/path.md +++ b/doc/api/path.md @@ -447,7 +447,7 @@ path.relative('C:\\orandea\\test\\aaa', 'C:\\orandea\\impl\\bbb'); // Returns: '..\\..\\impl\\bbb' ``` -A [`TypeError`][] is thrown if neither `from` nor `to` is a string. +A [`TypeError`][] is thrown if either `from` or `to` is not a string. ## path.resolve([...paths])