diff --git a/src/lib/internationalization/locales/en.cts b/src/lib/internationalization/locales/en.cts index 7e0cef9fd..315e838fa 100644 --- a/src/lib/internationalization/locales/en.cts +++ b/src/lib/internationalization/locales/en.cts @@ -328,6 +328,8 @@ export = { "If set and no @summary tag is specified, TypeDoc will use the first paragraph of comments as the short summary in the module/namespace view", help_jsDocCompatibility: "Sets compatibility options for comment parsing that increase similarity with JSDoc comments", + help_suppressCommentWarningsInDeclarationFiles: + "Prevents warnings due to unspecified tags from being reported in comments within .d.ts files.", help_commentStyle: "Determines how TypeDoc searches for comments", help_useTsLinkResolution: "Use TypeScript's link resolution when determining where @link tags point. This only applies to JSDoc style comments", diff --git a/src/lib/utils/options/sources/typedoc.ts b/src/lib/utils/options/sources/typedoc.ts index b5370a9f2..e28d4575a 100644 --- a/src/lib/utils/options/sources/typedoc.ts +++ b/src/lib/utils/options/sources/typedoc.ts @@ -743,7 +743,7 @@ export function addTypeDocOptions(options: Pick) { options.addDeclaration({ name: "suppressCommentWarningsInDeclarationFiles", - help: (i18n) => i18n.help_lang(), + help: (i18n) => i18n.help_suppressCommentWarningsInDeclarationFiles(), type: ParameterType.Boolean, defaultValue: true, });