typedoc 0.24.0-beta.5 → 0.24.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -454,6 +454,8 @@ function moveNestedParamTags(comment, parameter) {
|
|
|
454
454
|
}
|
|
455
455
|
function movePropertyTags(comment, container) {
|
|
456
456
|
const propTags = comment.blockTags.filter((tag) => tag.tag === "@prop" || tag.tag === "@property");
|
|
457
|
+
comment.removeTags("@prop");
|
|
458
|
+
comment.removeTags("@property");
|
|
457
459
|
for (const prop of propTags) {
|
|
458
460
|
if (!prop.name)
|
|
459
461
|
continue;
|
|
@@ -26,6 +26,7 @@ export type CommentStyle = (typeof CommentStyle)[keyof typeof CommentStyle];
|
|
|
26
26
|
* An interface describing all TypeDoc specific options. Generated from a
|
|
27
27
|
* map which contains more information about each option for better types when
|
|
28
28
|
* defining said options.
|
|
29
|
+
* @interface
|
|
29
30
|
*/
|
|
30
31
|
export type TypeDocOptions = {
|
|
31
32
|
[K in keyof TypeDocOptionMap]: unknown extends TypeDocOptionMap[K] ? unknown : TypeDocOptionMap[K] extends ManuallyValidatedOption<infer ManuallyValidated> ? ManuallyValidated : TypeDocOptionMap[K] extends string | string[] | number | boolean ? TypeDocOptionMap[K] : TypeDocOptionMap[K] extends Record<string, boolean> ? Partial<TypeDocOptionMap[K]> | boolean : keyof TypeDocOptionMap[K] | TypeDocOptionMap[K][keyof TypeDocOptionMap[K]];
|
|
@@ -34,6 +35,7 @@ export type TypeDocOptions = {
|
|
|
34
35
|
* Describes all TypeDoc specific options as returned by {@link Options.getValue}, this is
|
|
35
36
|
* slightly more restrictive than the {@link TypeDocOptions} since it does not allow both
|
|
36
37
|
* keys and values for mapped option types, and does not allow partials of flag values.
|
|
38
|
+
* @interface
|
|
37
39
|
*/
|
|
38
40
|
export type TypeDocOptionValues = {
|
|
39
41
|
[K in keyof TypeDocOptionMap]: unknown extends TypeDocOptionMap[K] ? unknown : TypeDocOptionMap[K] extends ManuallyValidatedOption<infer ManuallyValidated> ? ManuallyValidated : TypeDocOptionMap[K] extends string | string[] | number | boolean | Record<string, boolean> ? TypeDocOptionMap[K] : TypeDocOptionMap[K][keyof TypeDocOptionMap[K]];
|