diff --git a/tools/doc/type-parser.mjs b/tools/doc/type-parser.mjs index e3b8ad0ffac4bf..fff8f5afbd06cb 100644 --- a/tools/doc/type-parser.mjs +++ b/tools/doc/type-parser.mjs @@ -288,7 +288,7 @@ export function toLink(typeInput) { } else { throw new Error( `Unrecognized type: '${typeTextFull}'.\n` + - "Please, edit the type or update the 'tools/doc/type-parser.js'." + `Please, edit the type or update '${import.meta.url}'.` ); } } else {