diff --git a/utils/doclint/xmlDocumentation.js b/utils/doclint/xmlDocumentation.js index 64bc6e62c5..70387d5e22 100644 --- a/utils/doclint/xmlDocumentation.js +++ b/utils/doclint/xmlDocumentation.js @@ -123,6 +123,9 @@ function _wrapAndEscape(node, maxColumns = 0) { }); text = text.replace(/(? ``); text = text.replace(/`([^`]*)`/g, (match, code) => `${code.replace('<', '<').replace('>', '>')}`); + text = text.replace(/ITimeoutError/, 'TimeoutException'); + text = text.replace(/Promise/, 'Task'); + const words = text.split(' '); let line = ''; for (let i = 0; i < words.length; i++) {