From f0d1e92994efdd8f1c20422fbf4d5deeba8e87cf Mon Sep 17 00:00:00 2001 From: Gerrit Birkeland Date: Sat, 25 Mar 2023 10:55:21 -0600 Subject: [PATCH] Beta 6 --- package-lock.json | 4 ++-- package.json | 2 +- src/lib/converter/plugins/CommentPlugin.ts | 2 ++ src/lib/utils/options/declaration.ts | 2 ++ 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4a8be50e9..4d2503073 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "typedoc", - "version": "0.24.0-beta.5", + "version": "0.24.0-beta.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "typedoc", - "version": "0.24.0-beta.5", + "version": "0.24.0-beta.6", "license": "Apache-2.0", "dependencies": { "lunr": "^2.3.9", diff --git a/package.json b/package.json index 05099a0b4..a7cc3ef2c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "typedoc", "description": "Create api documentation for TypeScript projects.", - "version": "0.24.0-beta.5", + "version": "0.24.0-beta.6", "homepage": "https://typedoc.org", "exports": { ".": "./dist/index.js", diff --git a/src/lib/converter/plugins/CommentPlugin.ts b/src/lib/converter/plugins/CommentPlugin.ts index 7f29ea7ff..42e167aa9 100644 --- a/src/lib/converter/plugins/CommentPlugin.ts +++ b/src/lib/converter/plugins/CommentPlugin.ts @@ -591,6 +591,8 @@ function movePropertyTags(comment: Comment, container: Reflection) { const propTags = comment.blockTags.filter( (tag) => tag.tag === "@prop" || tag.tag === "@property" ); + comment.removeTags("@prop"); + comment.removeTags("@property"); for (const prop of propTags) { if (!prop.name) continue; diff --git a/src/lib/utils/options/declaration.ts b/src/lib/utils/options/declaration.ts index f8b907922..8546ae771 100644 --- a/src/lib/utils/options/declaration.ts +++ b/src/lib/utils/options/declaration.ts @@ -30,6 +30,7 @@ export type CommentStyle = (typeof CommentStyle)[keyof typeof CommentStyle]; * An interface describing all TypeDoc specific options. Generated from a * map which contains more information about each option for better types when * defining said options. + * @interface */ export type TypeDocOptions = { [K in keyof TypeDocOptionMap]: unknown extends TypeDocOptionMap[K] @@ -51,6 +52,7 @@ export type TypeDocOptions = { * Describes all TypeDoc specific options as returned by {@link Options.getValue}, this is * slightly more restrictive than the {@link TypeDocOptions} since it does not allow both * keys and values for mapped option types, and does not allow partials of flag values. + * @interface */ export type TypeDocOptionValues = { [K in keyof TypeDocOptionMap]: unknown extends TypeDocOptionMap[K]