typedoc 0.28.0 → 0.28.2

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.
Files changed (42) hide show
  1. package/dist/lib/application.d.ts +5 -5
  2. package/dist/lib/application.js +6 -4
  3. package/dist/lib/converter/comments/index.js +6 -1
  4. package/dist/lib/converter/converter.d.ts +13 -1
  5. package/dist/lib/converter/converter.js +28 -12
  6. package/dist/lib/converter/factories/signature.d.ts +1 -0
  7. package/dist/lib/converter/factories/signature.js +28 -5
  8. package/dist/lib/converter/plugins/CategoryPlugin.js +1 -1
  9. package/dist/lib/converter/plugins/GroupPlugin.js +3 -0
  10. package/dist/lib/converter/plugins/IncludePlugin.js +2 -3
  11. package/dist/lib/converter/symbols.js +6 -2
  12. package/dist/lib/converter/types.js +23 -11
  13. package/dist/lib/internationalization/locales/zh.cjs +6 -0
  14. package/dist/lib/internationalization/locales/zh.d.cts +6 -0
  15. package/dist/lib/models/types.js +9 -9
  16. package/dist/lib/output/renderer.d.ts +5 -1
  17. package/dist/lib/output/renderer.js +9 -1
  18. package/dist/lib/output/router.js +21 -5
  19. package/dist/lib/output/themes/MarkedPlugin.js +1 -1
  20. package/dist/lib/output/themes/default/partials/index.js +5 -13
  21. package/dist/lib/output/themes/default/partials/members.js +9 -6
  22. package/dist/lib/output/themes/default/partials/moduleReflection.js +15 -8
  23. package/dist/lib/output/themes/default/partials/navigation.js +13 -5
  24. package/dist/lib/output/themes/lib.d.ts +3 -2
  25. package/dist/lib/output/themes/lib.js +22 -15
  26. package/dist/lib/serialization/deserializer.d.ts +1 -1
  27. package/dist/lib/serialization/deserializer.js +1 -1
  28. package/dist/lib/serialization/serializer.d.ts +1 -1
  29. package/dist/lib/serialization/serializer.js +1 -1
  30. package/dist/lib/utils/entry-point.d.ts +1 -1
  31. package/dist/lib/utils/entry-point.js +19 -7
  32. package/dist/lib/utils/html.js +1 -1
  33. package/dist/lib/utils/options/declaration.d.ts +4 -3
  34. package/dist/lib/utils/options/defaults.js +2 -0
  35. package/dist/lib/utils/options/options.d.ts +3 -3
  36. package/dist/lib/utils/options/options.js +1 -1
  37. package/dist/lib/utils/options/tsdoc-defaults.d.ts +1 -1
  38. package/dist/lib/utils/options/tsdoc-defaults.js +1 -0
  39. package/package.json +10 -10
  40. package/static/main.js +3 -3
  41. package/static/style.css +4 -4
  42. package/tsdoc.json +5 -0
@@ -1,14 +1,17 @@
1
1
  import { JSX } from "#utils";
2
2
  import {} from "../../../../models/index.js";
3
- import { getMemberSections } from "../../lib.js";
3
+ import { getMemberSections, isNoneSection } from "../../lib.js";
4
4
  export function members(context, props) {
5
5
  const sections = getMemberSections(props, (child) => !context.router.hasOwnDocument(child));
6
- return (JSX.createElement(JSX.Fragment, null, sections.map(({ title, children }) => {
7
- context.page.startNewSection(title);
6
+ return (JSX.createElement(JSX.Fragment, null, sections.map((section) => {
7
+ if (isNoneSection(section)) {
8
+ return (JSX.createElement("section", { class: "tsd-panel-group tsd-member-group" }, section.children.map((item) => context.member(item))));
9
+ }
10
+ context.page.startNewSection(section.title);
8
11
  return (JSX.createElement("details", { class: "tsd-panel-group tsd-member-group tsd-accordion", open: true },
9
- JSX.createElement("summary", { class: "tsd-accordion-summary", "data-key": "section-" + title },
12
+ JSX.createElement("summary", { class: "tsd-accordion-summary", "data-key": "section-" + section.title },
10
13
  context.icons.chevronDown(),
11
- JSX.createElement("h2", null, title)),
12
- JSX.createElement("section", null, children.map((item) => context.member(item)))));
14
+ JSX.createElement("h2", null, section.title)),
15
+ JSX.createElement("section", null, section.children.map((item) => context.member(item)))));
13
16
  })));
14
17
  }
@@ -1,6 +1,6 @@
1
1
  import { ReferenceReflection, ReflectionKind, } from "../../../../models/index.js";
2
2
  import { JSX } from "#utils";
3
- import { classNames, getDisplayName, getMemberSections, getUniquePath, join } from "../../lib.js";
3
+ import { classNames, getDisplayName, getMemberSections, getUniquePath, isNoneSection, join } from "../../lib.js";
4
4
  import { anchorIcon } from "./anchor-icon.js";
5
5
  export function moduleReflection(context, mod) {
6
6
  const sections = getMemberSections(mod);
@@ -10,15 +10,22 @@ export function moduleReflection(context, mod) {
10
10
  context.commentTags(mod))),
11
11
  mod.isDeclaration() && mod.kind === ReflectionKind.Module && mod.readme?.length && (JSX.createElement("section", { class: "tsd-panel tsd-typography" },
12
12
  JSX.createElement(JSX.Raw, { html: context.markdown(mod.readme) }))),
13
- sections.map(({ title, children, description }) => {
14
- context.page.startNewSection(title);
13
+ sections.map((section) => {
14
+ if (!isNoneSection(section)) {
15
+ context.page.startNewSection(section.title);
16
+ }
17
+ const content = (JSX.createElement(JSX.Fragment, null,
18
+ section.description && (JSX.createElement("div", { class: "tsd-comment tsd-typography" },
19
+ JSX.createElement(JSX.Raw, { html: context.markdown(section.description) }))),
20
+ JSX.createElement("dl", { class: "tsd-member-summaries" }, section.children.map((item) => context.moduleMemberSummary(item)))));
21
+ if (isNoneSection(section)) {
22
+ return (JSX.createElement("section", { class: "tsd-panel-group tsd-member-group" }, content));
23
+ }
15
24
  return (JSX.createElement("details", { class: "tsd-panel-group tsd-member-group tsd-accordion", open: true },
16
- JSX.createElement("summary", { class: "tsd-accordion-summary", "data-key": "section-" + title },
25
+ JSX.createElement("summary", { class: "tsd-accordion-summary", "data-key": "section-" + section.title },
17
26
  context.icons.chevronDown(),
18
- JSX.createElement("h2", null, title)),
19
- description && (JSX.createElement("div", { class: "tsd-comment tsd-typography" },
20
- JSX.createElement(JSX.Raw, { html: context.markdown(description) }))),
21
- JSX.createElement("dl", { class: "tsd-member-summaries" }, children.map((item) => context.moduleMemberSummary(item)))));
27
+ JSX.createElement("h2", null, section.title)),
28
+ content));
22
29
  })));
23
30
  }
24
31
  export function moduleMemberSummary(context, member) {
@@ -87,12 +87,20 @@ function buildSectionNavigation(context, headings) {
87
87
  const built = (JSX.createElement("ul", null, level.map((l) => JSX.createElement("li", null, l))));
88
88
  levels[levels.length - 1].push(built);
89
89
  }
90
+ function getInferredHeadingLevel(heading) {
91
+ if (heading.level) {
92
+ // Regular heading
93
+ return heading.level + 2;
94
+ }
95
+ if (heading.kind) {
96
+ // Reflection
97
+ return 2;
98
+ }
99
+ // Group/category
100
+ return 1;
101
+ }
90
102
  for (const heading of headings) {
91
- const inferredLevel = heading.level
92
- ? heading.level + 2 // regular heading
93
- : heading.kind
94
- ? 2 // reflection
95
- : 1; // group/category
103
+ const inferredLevel = getInferredHeadingLevel(heading);
96
104
  while (inferredLevel < levels.length) {
97
105
  finalizeLevel(false);
98
106
  }
@@ -25,12 +25,13 @@ export declare function renderTypeParametersSignature(context: DefaultThemeRende
25
25
  */
26
26
  export declare function renderName(refl: Reflection): JSX.Element | (string | JSX.Element)[];
27
27
  export declare function getHierarchyRoots(project: ProjectReflection): DeclarationReflection[];
28
- export interface MemberSections {
28
+ export declare function isNoneSection(section: MemberSection): boolean;
29
+ export interface MemberSection {
29
30
  title: string;
30
31
  description?: CommentDisplayPart[];
31
32
  children: Array<DocumentReflection | DeclarationReflection>;
32
33
  }
33
- export declare function getMemberSections(parent: ContainerReflection, childFilter?: (refl: Reflection) => boolean): MemberSections[];
34
+ export declare function getMemberSections(parent: ContainerReflection, childFilter?: (refl: Reflection) => boolean): MemberSection[];
34
35
  /**
35
36
  * Returns a (hopefully) globally unique path for the given reflection.
36
37
  *
@@ -70,17 +70,6 @@ export function hasTypeParameters(reflection) {
70
70
  export function renderTypeParametersSignature(context, typeParameters) {
71
71
  if (!typeParameters || typeParameters.length === 0)
72
72
  return JSX.createElement(JSX.Fragment, null);
73
- const hideParamTypes = false; // context.options.getValue("hideTypesInSignatureTitle");
74
- if (hideParamTypes) {
75
- return (JSX.createElement(JSX.Fragment, null,
76
- JSX.createElement("span", { class: "tsd-signature-symbol" }, "<"),
77
- join(JSX.createElement("span", { class: "tsd-signature-symbol" }, ", "), typeParameters, (item) => (JSX.createElement(JSX.Fragment, null,
78
- (item.flags.isConst || item.varianceModifier) && (JSX.createElement("span", { class: "tsd-signature-keyword" },
79
- item.flags.isConst && "const ",
80
- item.varianceModifier && `${item.varianceModifier} `)),
81
- JSX.createElement("a", { class: "tsd-signature-type tsd-kind-type-parameter", href: context.urlTo(item) }, item.name)))),
82
- JSX.createElement("span", { class: "tsd-signature-symbol" }, ">")));
83
- }
84
73
  return (JSX.createElement(JSX.Fragment, null,
85
74
  JSX.createElement("span", { class: "tsd-signature-symbol" }, "<"),
86
75
  join(JSX.createElement("span", { class: "tsd-signature-symbol" }, ", "), typeParameters, (item) => (JSX.createElement(JSX.Fragment, null,
@@ -135,6 +124,18 @@ export function getHierarchyRoots(project) {
135
124
  rootsCache.set(project, result);
136
125
  return result;
137
126
  }
127
+ export function isNoneSection(section) {
128
+ return section.title.toLocaleLowerCase() === "none";
129
+ }
130
+ function sortNoneSectionFirst(a, b) {
131
+ if (isNoneSection(a)) {
132
+ return -1;
133
+ }
134
+ if (isNoneSection(b)) {
135
+ return 1;
136
+ }
137
+ return 0;
138
+ }
138
139
  export function getMemberSections(parent, childFilter = () => true) {
139
140
  if (parent.categories?.length) {
140
141
  return filterMap(parent.categories, (cat) => {
@@ -146,17 +147,17 @@ export function getMemberSections(parent, childFilter = () => true) {
146
147
  description: cat.description,
147
148
  children,
148
149
  };
149
- });
150
+ }).sort(sortNoneSectionFirst);
150
151
  }
151
152
  if (parent.groups?.length) {
152
153
  return parent.groups.flatMap((group) => {
153
154
  if (group.categories?.length) {
154
- return filterMap(group.categories, (cat) => {
155
+ return filterMap(group.categories.slice().sort(sortNoneSectionFirst), (cat) => {
155
156
  const children = cat.children.filter(childFilter);
156
157
  if (!children.length)
157
158
  return;
158
159
  return {
159
- title: `${group.title} - ${cat.title}`,
160
+ title: isNoneSection(cat) ? group.title : `${group.title} - ${cat.title}`,
160
161
  description: cat.description,
161
162
  children,
162
163
  };
@@ -170,7 +171,13 @@ export function getMemberSections(parent, childFilter = () => true) {
170
171
  description: group.description,
171
172
  children,
172
173
  };
173
- });
174
+ }).sort(sortNoneSectionFirst);
175
+ }
176
+ if (parent.children?.length) {
177
+ return [{
178
+ title: "none",
179
+ children: parent.children || [],
180
+ }];
174
181
  }
175
182
  return [];
176
183
  }
@@ -12,7 +12,7 @@ export interface Deserializable<T> {
12
12
  /**
13
13
  * Deserializes TypeDoc's JSON output back to {@link Reflection} instances.
14
14
  *
15
- * @group Common
15
+ * @group None
16
16
  * @summary Deserializes TypeDoc's JSON output
17
17
  */
18
18
  export declare class Deserializer {
@@ -5,7 +5,7 @@ const supportedSchemaVersions = [JSONOutput.SCHEMA_VERSION];
5
5
  /**
6
6
  * Deserializes TypeDoc's JSON output back to {@link Reflection} instances.
7
7
  *
8
- * @group Common
8
+ * @group None
9
9
  * @summary Deserializes TypeDoc's JSON output
10
10
  */
11
11
  export class Deserializer {
@@ -10,7 +10,7 @@ export interface SerializerEvents {
10
10
  /**
11
11
  * Serializes TypeDoc's models to JSON
12
12
  *
13
- * @group Common
13
+ * @group None
14
14
  * @summary Serializes TypeDoc's models to JSON
15
15
  */
16
16
  export declare class Serializer extends EventDispatcher<SerializerEvents> {
@@ -3,7 +3,7 @@ import { EventDispatcher, insertPrioritySorted, removeIfPresent } from "#utils";
3
3
  /**
4
4
  * Serializes TypeDoc's models to JSON
5
5
  *
6
- * @group Common
6
+ * @group None
7
7
  * @summary Serializes TypeDoc's models to JSON
8
8
  */
9
9
  export class Serializer extends EventDispatcher {
@@ -36,7 +36,7 @@ export interface DocumentEntryPoint {
36
36
  displayName: string;
37
37
  path: NormalizedPath;
38
38
  }
39
- export declare function inferEntryPoints(logger: Logger, options: Options): DocumentationEntryPoint[];
39
+ export declare function inferEntryPoints(logger: Logger, options: Options, programs?: ts.Program[]): DocumentationEntryPoint[];
40
40
  export declare function getEntryPoints(logger: Logger, options: Options): DocumentationEntryPoint[] | undefined;
41
41
  /**
42
42
  * Document entry points are markdown documents that the user has requested we include in the project with
@@ -30,7 +30,7 @@ export const EntryPointStrategy = {
30
30
  */
31
31
  Merge: "merge",
32
32
  };
33
- export function inferEntryPoints(logger, options) {
33
+ export function inferEntryPoints(logger, options, programs) {
34
34
  const packageJson = discoverPackageJson(options.packageDir ?? process.cwd());
35
35
  if (!packageJson) {
36
36
  logger.warn(i18n.no_entry_points_provided());
@@ -38,7 +38,7 @@ export function inferEntryPoints(logger, options) {
38
38
  }
39
39
  const pathEntries = inferPackageEntryPointPaths(packageJson.file);
40
40
  const entryPoints = [];
41
- const programs = getEntryPrograms(pathEntries.map((p) => p[1]), logger, options);
41
+ programs ||= getEntryPrograms(pathEntries.map((p) => p[1]), logger, options);
42
42
  // See also: addInferredDeclarationMapPaths in ReflectionSymbolId
43
43
  const jsToTsSource = new Map();
44
44
  for (const program of programs) {
@@ -137,10 +137,20 @@ export function getWatchEntryPoints(logger, options, program) {
137
137
  const strategy = options.getValue("entryPointStrategy");
138
138
  switch (strategy) {
139
139
  case EntryPointStrategy.Resolve:
140
- result = getEntryPointsForPaths(logger, expandGlobs(entryPoints, exclude, logger), options, [program]);
140
+ if (options.isSet("entryPoints")) {
141
+ result = getEntryPointsForPaths(logger, expandGlobs(entryPoints, exclude, logger), options, [program]);
142
+ }
143
+ else {
144
+ result = inferEntryPoints(logger, options, [program]);
145
+ }
141
146
  break;
142
147
  case EntryPointStrategy.Expand:
143
- result = getExpandedEntryPointsForPaths(logger, expandGlobs(entryPoints, exclude, logger), options, [program]);
148
+ if (options.isSet("entryPoints")) {
149
+ result = getExpandedEntryPointsForPaths(logger, expandGlobs(entryPoints, exclude, logger), options, [program]);
150
+ }
151
+ else {
152
+ result = inferEntryPoints(logger, options, [program]);
153
+ }
144
154
  break;
145
155
  case EntryPointStrategy.Packages:
146
156
  logger.error(i18n.watch_does_not_support_packages_mode());
@@ -218,16 +228,18 @@ function expandGlobs(globs, exclude, logger) {
218
228
  });
219
229
  const filtered = result.filter((file) => file === entry || !excludePatterns.matchesAny(file));
220
230
  if (result.length === 0) {
221
- logger.warn(i18n.glob_0_did_not_match_any_files(nicePath(entry)));
231
+ // #2918 - do not pass entry through nicePath here in case it contains
232
+ // windows path separators which should cause additional warnings.
233
+ logger.warn(i18n.glob_0_did_not_match_any_files(entry));
222
234
  if (entry.includes("\\") && !entry.includes("/")) {
223
235
  logger.info(i18n.glob_should_use_posix_slash());
224
236
  }
225
237
  }
226
238
  else if (filtered.length === 0) {
227
- logger.warn(i18n.entry_point_0_did_not_match_any_files_after_exclude(nicePath(entry)));
239
+ logger.warn(i18n.entry_point_0_did_not_match_any_files_after_exclude(entry));
228
240
  }
229
241
  else if (filtered.length !== 1) {
230
- logger.verbose(`Expanded ${nicePath(entry)} to:\n\t${filtered
242
+ logger.verbose(`Expanded ${entry} to:\n\t${filtered
231
243
  .map(nicePath)
232
244
  .join("\n\t")}`);
233
245
  }
@@ -52,7 +52,7 @@ export function createNormalizedUrl(url) {
52
52
  }
53
53
  codePoints[i] = Chars.UNDERSCORE;
54
54
  }
55
- return String.fromCharCode(...codePoints);
55
+ return String.fromCodePoint(...codePoints);
56
56
  }
57
57
  var Chars;
58
58
  (function (Chars) {
@@ -26,7 +26,7 @@ export type CommentStyle = (typeof CommentStyle)[keyof typeof CommentStyle];
26
26
  export type OutputSpecification = {
27
27
  name: string;
28
28
  path: string;
29
- options?: Partial<TypeDocOptions>;
29
+ options?: TypeDocOptions;
30
30
  };
31
31
  /**
32
32
  * List of option names which, with `entryPointStrategy` set to `packages`
@@ -40,12 +40,13 @@ export declare const rootPackageOptions: readonly ["plugin", "packageOptions", "
40
40
  * @interface
41
41
  */
42
42
  export type TypeDocOptions = {
43
- [K in keyof TypeDocOptionMap]: unknown extends TypeDocOptionMap[K] ? unknown : TypeDocOptionMap[K] extends ManuallyValidatedOption<infer ManuallyValidated> ? ManuallyValidated : TypeDocOptionMap[K] extends NormalizedPath[] | NormalizedPathOrModule[] | GlobString[] ? string[] : TypeDocOptionMap[K] extends NormalizedPath ? string : 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]];
43
+ [K in keyof TypeDocOptionMap]?: unknown extends TypeDocOptionMap[K] ? unknown : TypeDocOptionMap[K] extends ManuallyValidatedOption<infer ManuallyValidated> ? ManuallyValidated : TypeDocOptionMap[K] extends NormalizedPath[] | NormalizedPathOrModule[] | GlobString[] ? string[] : TypeDocOptionMap[K] extends NormalizedPath ? string : 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]];
44
44
  };
45
45
  /**
46
46
  * Describes all TypeDoc specific options as returned by {@link Options.getValue}, this is
47
47
  * slightly more restrictive than the {@link TypeDocOptions} since it does not allow both
48
48
  * keys and values for mapped option types, and does not allow partials of flag values.
49
+ * It also does not mark keys as optional.
49
50
  * @interface
50
51
  */
51
52
  export type TypeDocOptionValues = {
@@ -80,7 +81,7 @@ export interface TypeDocOptionMap {
80
81
  plugin: NormalizedPathOrModule[];
81
82
  lang: string;
82
83
  locales: ManuallyValidatedOption<Record<string, Record<string, string>>>;
83
- packageOptions: ManuallyValidatedOption<Partial<TypeDocPackageOptions>>;
84
+ packageOptions: ManuallyValidatedOption<TypeDocPackageOptions>;
84
85
  entryPoints: GlobString[];
85
86
  entryPointStrategy: typeof EntryPointStrategy;
86
87
  alwaysCreateEntryPointModule: boolean;
@@ -27,6 +27,7 @@ export const excludeTags = [
27
27
  "@satisfies",
28
28
  "@overload",
29
29
  "@inline",
30
+ "@inlineType",
30
31
  ];
31
32
  export const blockTags = TagDefaults.blockTags;
32
33
  export const inlineTags = TagDefaults.inlineTags;
@@ -41,6 +42,7 @@ export const notRenderedTags = [
41
42
  "@showGroups",
42
43
  "@hideCategories",
43
44
  "@hideGroups",
45
+ "@disableGroups",
44
46
  "@expand",
45
47
  "@preventExpand",
46
48
  "@expandType",
@@ -60,7 +60,7 @@ export interface OptionsReader {
60
60
  * 4. argv (300) - Read argv again since any options set there should override those set in config
61
61
  * files.
62
62
  *
63
- * @group Common
63
+ * @group None
64
64
  * @summary Contains all of TypeDoc's option declarations & values
65
65
  */
66
66
  export declare class Options {
@@ -138,7 +138,7 @@ export declare class Options {
138
138
  /**
139
139
  * Gets all of the TypeDoc option values defined in this option container.
140
140
  */
141
- getRawValues(): Readonly<Partial<TypeDocOptions>>;
141
+ getRawValues(): Readonly<Partial<TypeDocOptionValues>>;
142
142
  /**
143
143
  * Gets a value for the given option key, throwing if the option has not been declared.
144
144
  * @param name
@@ -151,7 +151,7 @@ export declare class Options {
151
151
  * @param value
152
152
  * @param configPath the directory to resolve Path type values against
153
153
  */
154
- setValue<K extends keyof TypeDocOptions>(name: K, value: TypeDocOptions[K], configPath?: string): void;
154
+ setValue<K extends keyof TypeDocOptions>(name: K, value: Exclude<TypeDocOptions[K], undefined>, configPath?: string): void;
155
155
  setValue(name: NeverIfInternal<string>, value: NeverIfInternal<unknown>, configPath?: NeverIfInternal<string>): void;
156
156
  /**
157
157
  * Gets the set compiler options.
@@ -26,7 +26,7 @@ const optionSnapshots = new WeakMap();
26
26
  * 4. argv (300) - Read argv again since any options set there should override those set in config
27
27
  * files.
28
28
  *
29
- * @group Common
29
+ * @group None
30
30
  * @summary Contains all of TypeDoc's option declarations & values
31
31
  */
32
32
  export class Options {
@@ -3,4 +3,4 @@ export declare const blockTags: readonly ["@defaultValue", "@deprecated", "@exam
3
3
  export declare const tsdocInlineTags: readonly ["@link", "@inheritDoc", "@label"];
4
4
  export declare const inlineTags: readonly ["@link", "@inheritDoc", "@label", "@linkcode", "@linkplain", "@include", "@includeCode"];
5
5
  export declare const tsdocModifierTags: readonly ["@alpha", "@beta", "@eventProperty", "@experimental", "@internal", "@override", "@packageDocumentation", "@public", "@readonly", "@sealed", "@virtual"];
6
- export declare const modifierTags: readonly ["@alpha", "@beta", "@eventProperty", "@experimental", "@internal", "@override", "@packageDocumentation", "@public", "@readonly", "@sealed", "@virtual", "@abstract", "@class", "@enum", "@event", "@expand", "@hidden", "@hideCategories", "@hideconstructor", "@hideGroups", "@ignore", "@inline", "@interface", "@namespace", "@function", "@overload", "@private", "@protected", "@showCategories", "@showGroups", "@useDeclaredType", "@primaryExport"];
6
+ export declare const modifierTags: readonly ["@alpha", "@beta", "@eventProperty", "@experimental", "@internal", "@override", "@packageDocumentation", "@public", "@readonly", "@sealed", "@virtual", "@abstract", "@class", "@disableGroups", "@enum", "@event", "@expand", "@hidden", "@hideCategories", "@hideconstructor", "@hideGroups", "@ignore", "@inline", "@interface", "@namespace", "@function", "@overload", "@private", "@protected", "@showCategories", "@showGroups", "@useDeclaredType", "@primaryExport"];
@@ -69,6 +69,7 @@ export const modifierTags = [
69
69
  ...tsdocModifierTags,
70
70
  "@abstract",
71
71
  "@class",
72
+ "@disableGroups",
72
73
  "@enum",
73
74
  "@event",
74
75
  "@expand",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "typedoc",
3
3
  "description": "Create api documentation for TypeScript projects.",
4
- "version": "0.28.0",
4
+ "version": "0.28.2",
5
5
  "homepage": "https://typedoc.org",
6
6
  "type": "module",
7
7
  "exports": {
@@ -31,32 +31,32 @@
31
31
  "pnpm": ">= 10"
32
32
  },
33
33
  "dependencies": {
34
- "@gerrit0/mini-shiki": "^3.2.1",
34
+ "@gerrit0/mini-shiki": "^3.2.2",
35
35
  "lunr": "^2.3.9",
36
36
  "markdown-it": "^14.1.0",
37
37
  "minimatch": "^9.0.5",
38
- "yaml": "^2.7.0 "
38
+ "yaml": "^2.7.1"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "typescript": "5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x || 5.6.x || 5.7.x || 5.8.x"
42
42
  },
43
43
  "devDependencies": {
44
- "@eslint/js": "^9.22.0",
44
+ "@eslint/js": "^9.24.0",
45
45
  "@types/lunr": "^2.3.7",
46
46
  "@types/markdown-it": "^14.1.2",
47
47
  "@types/mocha": "^10.0.10",
48
48
  "@types/node": "18",
49
49
  "@typestrong/fs-fixture-builder": "github:TypeStrong/fs-fixture-builder#34113409e3a171e68ce5e2b55461ef5c35591cfe",
50
50
  "c8": "^10.1.3",
51
- "dprint": "^0.49.0",
52
- "esbuild": "^0.25.1",
53
- "eslint": "^9.22.0",
51
+ "dprint": "^0.49.1",
52
+ "esbuild": "^0.25.2",
53
+ "eslint": "^9.24.0",
54
54
  "mocha": "^11.1.0",
55
- "puppeteer": "^24.4.0",
55
+ "puppeteer": "^24.6.0",
56
56
  "semver": "^7.7.1",
57
57
  "tsx": "^4.19.3",
58
- "typescript": "5.8.2",
59
- "typescript-eslint": "^8.26.1"
58
+ "typescript": "5.8.3",
59
+ "typescript-eslint": "^8.29.0"
60
60
  },
61
61
  "files": [
62
62
  "/bin",