Skip to content

Commit

Permalink
Beta 6
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit0 committed Mar 25, 2023
1 parent 145af51 commit f0d1e92
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 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",
Expand Down
2 changes: 2 additions & 0 deletions src/lib/converter/plugins/CommentPlugin.ts
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions src/lib/utils/options/declaration.ts
Expand Up @@ -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]
Expand All @@ -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]
Expand Down

0 comments on commit f0d1e92

Please sign in to comment.