Skip to content

Commit 927f06d

Browse files
committed
Fix #2860
1 parent 0bad04c commit 927f06d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/lib/internationalization/locales/en.cts

+2
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,8 @@ export = {
328328
"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",
329329
help_jsDocCompatibility:
330330
"Sets compatibility options for comment parsing that increase similarity with JSDoc comments",
331+
help_suppressCommentWarningsInDeclarationFiles:
332+
"Prevents warnings due to unspecified tags from being reported in comments within .d.ts files.",
331333
help_commentStyle: "Determines how TypeDoc searches for comments",
332334
help_useTsLinkResolution:
333335
"Use TypeScript's link resolution when determining where @link tags point. This only applies to JSDoc style comments",

src/lib/utils/options/sources/typedoc.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ export function addTypeDocOptions(options: Pick<Options, "addDeclaration">) {
743743

744744
options.addDeclaration({
745745
name: "suppressCommentWarningsInDeclarationFiles",
746-
help: (i18n) => i18n.help_lang(),
746+
help: (i18n) => i18n.help_suppressCommentWarningsInDeclarationFiles(),
747747
type: ParameterType.Boolean,
748748
defaultValue: true,
749749
});

0 commit comments

Comments
 (0)