diff --git a/doc/api/errors.md b/doc/api/errors.md index e768c98578e053..3efe6bcd47d712 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -562,8 +562,7 @@ program. For a comprehensive list, see the [`errno`(3) man page][]. * Extends {errors.Error} Indicates that a provided argument is not an allowable type. For example, -passing a function to a parameter which expects a string would be considered -a `TypeError`. +passing a function to a parameter which expects a string would be a `TypeError`. ```js require('url').parse(() => { });