typedoc 0.26.0 → 0.26.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 (34) hide show
  1. package/dist/lib/application.js +12 -2
  2. package/dist/lib/converter/comments/discovery.d.ts +4 -7
  3. package/dist/lib/converter/comments/discovery.js +144 -75
  4. package/dist/lib/converter/comments/index.d.ts +7 -4
  5. package/dist/lib/converter/comments/index.js +22 -16
  6. package/dist/lib/converter/comments/parser.js +11 -2
  7. package/dist/lib/converter/comments/textParser.d.ts +12 -1
  8. package/dist/lib/converter/comments/textParser.js +72 -25
  9. package/dist/lib/converter/context.js +5 -5
  10. package/dist/lib/converter/converter.d.ts +0 -2
  11. package/dist/lib/converter/converter.js +5 -12
  12. package/dist/lib/converter/plugins/CommentPlugin.js +6 -3
  13. package/dist/lib/internationalization/locales/ko.cjs +154 -0
  14. package/dist/lib/internationalization/locales/ko.d.cts +153 -0
  15. package/dist/lib/models/FileRegistry.d.ts +9 -4
  16. package/dist/lib/models/FileRegistry.js +6 -1
  17. package/dist/lib/models/comments/comment.d.ts +9 -2
  18. package/dist/lib/models/comments/comment.js +15 -1
  19. package/dist/lib/models/reflections/declaration.js +1 -0
  20. package/dist/lib/models/reflections/project.js +1 -1
  21. package/dist/lib/output/themes/MarkedPlugin.js +1 -1
  22. package/dist/lib/output/themes/default/DefaultThemeRenderContext.d.ts +4 -4
  23. package/dist/lib/utils/array.d.ts +3 -0
  24. package/dist/lib/utils/array.js +19 -0
  25. package/dist/lib/utils/highlighter.js +2 -2
  26. package/dist/lib/utils/minimalSourceFile.js +1 -1
  27. package/dist/lib/utils/options/declaration.d.ts +1 -0
  28. package/dist/lib/utils/options/options.js +3 -3
  29. package/dist/lib/utils/options/readers/typedoc.js +1 -1
  30. package/dist/lib/utils/options/sources/typedoc.js +5 -0
  31. package/dist/lib/utils/options/tsdoc-defaults.d.ts +3 -3
  32. package/dist/lib/utils/options/tsdoc-defaults.js +11 -12
  33. package/package.json +5 -5
  34. package/tsdoc.json +9 -1
@@ -1,5 +1,5 @@
1
1
  import type { Deserializer, Serializer } from "../serialization";
2
- import type { FileRegistry as JSONMediaRegistry } from "../serialization/schema";
2
+ import type { FileRegistry as JSONFileRegistry } from "../serialization/schema";
3
3
  import type { Reflection } from "./reflections";
4
4
  export declare class FileRegistry {
5
5
  protected nextId: number;
@@ -17,10 +17,15 @@ export declare class FileRegistry {
17
17
  resolve(id: number): string | Reflection | undefined;
18
18
  getName(id: number): string | undefined;
19
19
  getNameToAbsoluteMap(): ReadonlyMap<string, string>;
20
- toObject(ser: Serializer): JSONMediaRegistry;
21
- fromObject(de: Deserializer, obj: JSONMediaRegistry): void;
20
+ toObject(ser: Serializer): JSONFileRegistry;
21
+ /**
22
+ * Revive a file registry from disc.
23
+ * Note that in the packages context this may be called multiple times on
24
+ * a single object, and should merge in files from the other registries.
25
+ */
26
+ fromObject(de: Deserializer, obj: JSONFileRegistry): void;
22
27
  }
23
28
  export declare class ValidatingFileRegistry extends FileRegistry {
24
29
  register(sourcePath: string, relativePath: string): number | undefined;
25
- fromObject(de: Deserializer, obj: JSONMediaRegistry): void;
30
+ fromObject(de: Deserializer, obj: JSONFileRegistry): void;
26
31
  }
@@ -7,7 +7,7 @@ const fs_1 = require("fs");
7
7
  class FileRegistry {
8
8
  constructor() {
9
9
  this.nextId = 1;
10
- // The combination of thest two make up the registry
10
+ // The combination of these two make up the registry
11
11
  this.mediaToReflection = new Map();
12
12
  this.mediaToPath = new Map();
13
13
  this.reflectionToPath = new Map();
@@ -87,6 +87,11 @@ class FileRegistry {
87
87
  }
88
88
  return result;
89
89
  }
90
+ /**
91
+ * Revive a file registry from disc.
92
+ * Note that in the packages context this may be called multiple times on
93
+ * a single object, and should merge in files from the other registries.
94
+ */
90
95
  fromObject(de, obj) {
91
96
  for (const [key, val] of Object.entries(obj.entries)) {
92
97
  const absolute = (0, utils_1.normalizePath)((0, path_1.resolve)(de.projectRoot, val));
@@ -123,8 +123,8 @@ export declare class Comment {
123
123
  kind: "inline-tag";
124
124
  tag: `@${string}`;
125
125
  text: string;
126
- target?: string | Reflection | ReflectionSymbolId | undefined;
127
- tsLinkText?: string | undefined;
126
+ target?: Reflection | string | ReflectionSymbolId;
127
+ tsLinkText?: string;
128
128
  } | {
129
129
  kind: "relative-link";
130
130
  /**
@@ -180,6 +180,13 @@ export declare class Comment {
180
180
  * @internal
181
181
  */
182
182
  discoveryId?: number;
183
+ /**
184
+ * If the comment was inherited from a different "parent" declaration
185
+ * (see #2545), then it is desirable to know this as any `@param` tags
186
+ * which do not apply should not cause warnings. This is not serialized,
187
+ * and only set when the comment was created from a `ts.CommentRange`.
188
+ */
189
+ inheritedFromParentDeclaration?: boolean;
183
190
  /**
184
191
  * Creates a new Comment instance.
185
192
  */
@@ -94,6 +94,9 @@ let Comment = (() => {
94
94
  let _discoveryId_decorators;
95
95
  let _discoveryId_initializers = [];
96
96
  let _discoveryId_extraInitializers = [];
97
+ let _inheritedFromParentDeclaration_decorators;
98
+ let _inheritedFromParentDeclaration_initializers = [];
99
+ let _inheritedFromParentDeclaration_extraInitializers = [];
97
100
  return _a = class Comment {
98
101
  /**
99
102
  * Debugging utility for combining parts into a simple string. Not suitable for
@@ -301,7 +304,14 @@ let Comment = (() => {
301
304
  * @internal
302
305
  */
303
306
  this.discoveryId = (__runInitializers(this, _sourcePath_extraInitializers), __runInitializers(this, _discoveryId_initializers, void 0));
304
- __runInitializers(this, _discoveryId_extraInitializers);
307
+ /**
308
+ * If the comment was inherited from a different "parent" declaration
309
+ * (see #2545), then it is desirable to know this as any `@param` tags
310
+ * which do not apply should not cause warnings. This is not serialized,
311
+ * and only set when the comment was created from a `ts.CommentRange`.
312
+ */
313
+ this.inheritedFromParentDeclaration = (__runInitializers(this, _discoveryId_extraInitializers), __runInitializers(this, _inheritedFromParentDeclaration_initializers, void 0));
314
+ __runInitializers(this, _inheritedFromParentDeclaration_extraInitializers);
305
315
  this.summary = summary;
306
316
  this.blockTags = blockTags;
307
317
  this.modifierTags = modifierTags;
@@ -314,6 +324,8 @@ let Comment = (() => {
314
324
  const comment = new _a(_a.cloneDisplayParts(this.summary), this.blockTags.map((tag) => tag.clone()), new Set(this.modifierTags));
315
325
  comment.discoveryId = this.discoveryId;
316
326
  comment.sourcePath = this.sourcePath;
327
+ comment.inheritedFromParentDeclaration =
328
+ this.inheritedFromParentDeclaration;
317
329
  return comment;
318
330
  }
319
331
  /**
@@ -395,8 +407,10 @@ let Comment = (() => {
395
407
  const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
396
408
  _sourcePath_decorators = [general_1.NonEnumerable];
397
409
  _discoveryId_decorators = [general_1.NonEnumerable];
410
+ _inheritedFromParentDeclaration_decorators = [general_1.NonEnumerable];
398
411
  __esDecorate(null, null, _sourcePath_decorators, { kind: "field", name: "sourcePath", static: false, private: false, access: { has: obj => "sourcePath" in obj, get: obj => obj.sourcePath, set: (obj, value) => { obj.sourcePath = value; } }, metadata: _metadata }, _sourcePath_initializers, _sourcePath_extraInitializers);
399
412
  __esDecorate(null, null, _discoveryId_decorators, { kind: "field", name: "discoveryId", static: false, private: false, access: { has: obj => "discoveryId" in obj, get: obj => obj.discoveryId, set: (obj, value) => { obj.discoveryId = value; } }, metadata: _metadata }, _discoveryId_initializers, _discoveryId_extraInitializers);
413
+ __esDecorate(null, null, _inheritedFromParentDeclaration_decorators, { kind: "field", name: "inheritedFromParentDeclaration", static: false, private: false, access: { has: obj => "inheritedFromParentDeclaration" in obj, get: obj => obj.inheritedFromParentDeclaration, set: (obj, value) => { obj.inheritedFromParentDeclaration = value; } }, metadata: _metadata }, _inheritedFromParentDeclaration_initializers, _inheritedFromParentDeclaration_extraInitializers);
400
414
  if (_metadata) Object.defineProperty(_a, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata });
401
415
  })(),
402
416
  _a;
@@ -129,6 +129,7 @@ class DeclarationReflection extends container_1.ContainerReflection {
129
129
  if (obj.variant === "project") {
130
130
  this.kind = kind_1.ReflectionKind.Module;
131
131
  this.packageVersion = obj.packageVersion;
132
+ this.project.files.fromObject(de, obj.files || {});
132
133
  de.defer(() => {
133
134
  for (const [id, sid] of Object.entries(obj.symbolIdMap || {})) {
134
135
  const refl = this.project.getReflectionById(de.oldIdToNewId[+id] ?? -1);
@@ -296,7 +296,7 @@ class ProjectReflection extends container_1.ContainerReflection {
296
296
  if (obj.readme) {
297
297
  this.readme = comments_1.Comment.deserializeDisplayParts(de, obj.readme);
298
298
  }
299
- this.files.fromObject(de, obj.files);
299
+ this.files.fromObject(de, obj.files || {});
300
300
  de.defer(() => {
301
301
  // Unnecessary conditional in release
302
302
  for (const [id, sid] of Object.entries(obj.symbolIdMap || {})) {
@@ -256,7 +256,7 @@ let MarkedPlugin = (() => {
256
256
  this.parser = (0, markdown_it_1.default)({
257
257
  ...this.markdownItOptions,
258
258
  highlight: (code, lang) => {
259
- code = (0, highlighter_1.highlight)(code, lang || "ts");
259
+ code = this.getHighlighted(code, lang || "ts");
260
260
  code = code.replace(/\n$/, "") + "\n";
261
261
  if (!lang) {
262
262
  return `<pre><code>${code}</code><button>${this.application.i18n.theme_copy()}</button></pre>\n`;
@@ -53,12 +53,12 @@ export declare class DefaultThemeRenderContext {
53
53
  memberGetterSetter: (props: DeclarationReflection) => import("../../../utils/jsx.elements").JsxElement;
54
54
  memberReference: (props: import("../../../models").ReferenceReflection) => import("../../../utils/jsx.elements").JsxElement;
55
55
  memberSignatureBody: (props: import("../../../models").SignatureReflection, r_1?: {
56
- hideSources?: boolean | undefined;
56
+ hideSources?: boolean;
57
57
  } | undefined) => import("../../../utils/jsx.elements").JsxElement;
58
58
  memberSignatureTitle: (props: import("../../../models").SignatureReflection, r_1?: {
59
- hideName?: boolean | undefined;
60
- arrowStyle?: boolean | undefined;
61
- hideParamTypes?: boolean | undefined;
59
+ hideName?: boolean;
60
+ arrowStyle?: boolean;
61
+ hideParamTypes?: boolean;
62
62
  } | undefined) => import("../../../utils/jsx.elements").JsxElement;
63
63
  memberSignatures: (props: DeclarationReflection) => import("../../../utils/jsx.elements").JsxElement;
64
64
  memberSources: (props: DeclarationReflection | import("../../../models").SignatureReflection) => import("../../../utils/jsx.elements").JsxElement;
@@ -1,3 +1,4 @@
1
+ export declare const emptyArray: readonly [];
1
2
  /**
2
3
  * Inserts an item into an array sorted by priority. If two items have the same priority,
3
4
  * the item will be inserted later will be placed earlier in the array.
@@ -48,3 +49,5 @@ export declare function zip<T extends Iterable<any>[]>(...args: T): Iterable<{
48
49
  [K in keyof T]: T[K] extends Iterable<infer U> ? U : T[K];
49
50
  }>;
50
51
  export declare function filterMap<T, U>(iter: Iterable<T>, fn: (item: T) => U | undefined): U[];
52
+ export declare function firstDefined<T, U>(array: readonly T[] | undefined, callback: (element: T, index: number) => U | undefined): U | undefined;
53
+ export declare function filter<T>(array: readonly T[] | undefined, predicate: (value: T, index: number, array: readonly T[]) => boolean): readonly T[];
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.emptyArray = void 0;
3
4
  exports.insertPrioritySorted = insertPrioritySorted;
4
5
  exports.insertOrderSorted = insertOrderSorted;
5
6
  exports.binaryFindPartition = binaryFindPartition;
@@ -9,6 +10,9 @@ exports.unique = unique;
9
10
  exports.partition = partition;
10
11
  exports.zip = zip;
11
12
  exports.filterMap = filterMap;
13
+ exports.firstDefined = firstDefined;
14
+ exports.filter = filter;
15
+ exports.emptyArray = [];
12
16
  /**
13
17
  * Inserts an item into an array sorted by priority. If two items have the same priority,
14
18
  * the item will be inserted later will be placed earlier in the array.
@@ -123,3 +127,18 @@ function filterMap(iter, fn) {
123
127
  }
124
128
  return result;
125
129
  }
130
+ function firstDefined(array, callback) {
131
+ if (array === undefined) {
132
+ return undefined;
133
+ }
134
+ for (let i = 0; i < array.length; i++) {
135
+ const result = callback(array[i], i);
136
+ if (result !== undefined) {
137
+ return result;
138
+ }
139
+ }
140
+ return undefined;
141
+ }
142
+ function filter(array, predicate) {
143
+ return array ? array.filter(predicate) : exports.emptyArray;
144
+ }
@@ -133,7 +133,7 @@ async function loadHighlighter(lightTheme, darkTheme, langs) {
133
133
  if (highlighter)
134
134
  return;
135
135
  const shiki = await import("shiki");
136
- const hl = await shiki.getHighlighter({ themes: [lightTheme, darkTheme], langs });
136
+ const hl = await shiki.createHighlighter({ themes: [lightTheme, darkTheme], langs });
137
137
  highlighter = new DoubleHighlighter(hl, lightTheme, darkTheme);
138
138
  }
139
139
  function isSupportedLanguage(lang) {
@@ -152,7 +152,7 @@ function getSupportedThemes() {
152
152
  return supportedThemes;
153
153
  }
154
154
  function isLoadedLanguage(lang) {
155
- return highlighter?.supports(lang) ?? false;
155
+ return lang === "text" || (highlighter?.supports(lang) ?? false);
156
156
  }
157
157
  function highlight(code, lang) {
158
158
  (0, assert_1.ok)(highlighter, "Tried to highlight with an uninitialized highlighter");
@@ -18,7 +18,7 @@ class MinimalSourceFile {
18
18
  }
19
19
  const starts = lineStarts.get(this);
20
20
  while (pos >= starts[starts.length - 1]) {
21
- const nextStart = this.text.indexOf("\n", starts[starts.length - 1] + 1);
21
+ const nextStart = this.text.indexOf("\n", starts[starts.length - 1]);
22
22
  if (nextStart === -1) {
23
23
  starts.push(Infinity);
24
24
  }
@@ -155,6 +155,7 @@ export interface TypeDocOptionMap {
155
155
  useTsLinkResolution: boolean;
156
156
  preserveLinkText: boolean;
157
157
  jsDocCompatibility: JsDocCompatibility;
158
+ suppressCommentWarningsInDeclarationFiles: boolean;
158
159
  blockTags: `@${string}`[];
159
160
  inlineTags: `@${string}`[];
160
161
  modifierTags: `@${string}`[];
@@ -74,7 +74,7 @@ class Options {
74
74
  snapshot() {
75
75
  const key = {};
76
76
  optionSnapshots.set(key, {
77
- values: JSON.stringify(this._values),
77
+ values: { ...this._values },
78
78
  set: new Set(this._setOptions),
79
79
  });
80
80
  return key;
@@ -85,7 +85,7 @@ class Options {
85
85
  */
86
86
  restore(snapshot) {
87
87
  const data = optionSnapshots.get(snapshot);
88
- this._values = JSON.parse(data.values);
88
+ this._values = { ...data.values };
89
89
  this._setOptions = new Set(data.set);
90
90
  }
91
91
  reset(name) {
@@ -176,7 +176,7 @@ class Options {
176
176
  oldValue = (0, declaration_2.getDefaultValue)(declaration);
177
177
  const converted = (0, declaration_2.convert)(value, declaration, this._i18n, configPath ?? process.cwd(), oldValue);
178
178
  if (declaration.type === declaration_1.ParameterType.Flags) {
179
- Object.assign(this._values[declaration.name], converted);
179
+ this._values[declaration.name] = Object.assign({}, this._values[declaration.name], converted);
180
180
  }
181
181
  else {
182
182
  this._values[declaration.name] = converted;
@@ -78,7 +78,7 @@ class TypeDocReader {
78
78
  }
79
79
  seen.add(file);
80
80
  let fileContent;
81
- if (file.endsWith(".json")) {
81
+ if (file.endsWith(".json") || file.endsWith(".jsonc")) {
82
82
  const readResult = typescript_1.default.readConfigFile((0, paths_1.normalizePath)(file), (path) => FS.readFileSync(path, "utf-8"));
83
83
  if (readResult.error) {
84
84
  logger.error(logger.i18n.failed_read_options_file_0((0, paths_1.nicePath)(file)));
@@ -610,6 +610,11 @@ function addTypeDocOptions(options) {
610
610
  ignoreUnescapedBraces: true,
611
611
  },
612
612
  });
613
+ options.addDeclaration({
614
+ name: "suppressCommentWarningsInDeclarationFiles",
615
+ help: (i18n) => i18n.help_lang(),
616
+ type: declaration_1.ParameterType.Boolean,
617
+ });
613
618
  options.addDeclaration({
614
619
  name: "commentStyle",
615
620
  help: (i18n) => i18n.help_commentStyle(),
@@ -1,6 +1,6 @@
1
1
  export declare const tsdocBlockTags: readonly ["@defaultValue", "@deprecated", "@example", "@param", "@privateRemarks", "@remarks", "@returns", "@see", "@throws", "@typeParam"];
2
- export declare const blockTags: readonly ["@defaultValue", "@deprecated", "@example", "@param", "@privateRemarks", "@remarks", "@returns", "@see", "@throws", "@typeParam", "@category", "@categoryDescription", "@default", "@document", "@group", "@groupDescription", "@inheritDoc", "@license", "@module", "@return", "@template", "@type", "@typedef", "@callback", "@prop", "@property", "@satisfies", "@import", "@jsx"];
2
+ export declare const blockTags: readonly ["@defaultValue", "@deprecated", "@example", "@param", "@privateRemarks", "@remarks", "@returns", "@see", "@throws", "@typeParam", "@author", "@callback", "@category", "@categoryDescription", "@default", "@document", "@group", "@groupDescription", "@import", "@inheritDoc", "@jsx", "@license", "@module", "@prop", "@property", "@return", "@satisfies", "@template", "@type", "@typedef"];
3
3
  export declare const tsdocInlineTags: readonly ["@link", "@inheritDoc", "@label"];
4
4
  export declare const inlineTags: readonly ["@link", "@inheritDoc", "@label", "@linkcode", "@linkplain"];
5
- export declare const tsdocModifierTags: readonly ["@alpha", "@beta", "@eventProperty", "@experimental", "@internal", "@override", "@packageDocumentation", "@private", "@protected", "@public", "@readonly", "@sealed", "@virtual"];
6
- export declare const modifierTags: readonly ["@alpha", "@beta", "@eventProperty", "@experimental", "@internal", "@override", "@packageDocumentation", "@private", "@protected", "@public", "@readonly", "@sealed", "@virtual", "@class", "@enum", "@event", "@hidden", "@hideCategories", "@hideGroups", "@ignore", "@interface", "@namespace", "@overload", "@showCategories", "@showGroups", "@hideconstructor"];
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", "@class", "@enum", "@event", "@hidden", "@hideCategories", "@hideconstructor", "@hideGroups", "@ignore", "@interface", "@namespace", "@overload", "@private", "@protected", "@showCategories", "@showGroups"];
@@ -16,27 +16,26 @@ exports.tsdocBlockTags = [
16
16
  ];
17
17
  exports.blockTags = [
18
18
  ...exports.tsdocBlockTags,
19
+ "@author",
20
+ "@callback",
19
21
  "@category",
20
22
  "@categoryDescription",
21
23
  "@default",
22
24
  "@document",
23
25
  "@group",
24
26
  "@groupDescription",
27
+ "@import",
25
28
  "@inheritDoc",
29
+ "@jsx",
26
30
  "@license",
27
31
  "@module",
28
- "@return",
29
- // Alias for @typeParam
30
- "@template",
31
- // Because TypeScript is important!
32
- "@type",
33
- "@typedef",
34
- "@callback",
35
32
  "@prop",
36
33
  "@property",
34
+ "@return",
37
35
  "@satisfies",
38
- "@import",
39
- "@jsx",
36
+ "@template", // Alias for @typeParam
37
+ "@type", // Because TypeScript is important!
38
+ "@typedef",
40
39
  ];
41
40
  exports.tsdocInlineTags = ["@link", "@inheritDoc", "@label"];
42
41
  exports.inlineTags = [
@@ -52,8 +51,6 @@ exports.tsdocModifierTags = [
52
51
  "@internal",
53
52
  "@override",
54
53
  "@packageDocumentation",
55
- "@private",
56
- "@protected",
57
54
  "@public",
58
55
  "@readonly",
59
56
  "@sealed",
@@ -66,12 +63,14 @@ exports.modifierTags = [
66
63
  "@event",
67
64
  "@hidden",
68
65
  "@hideCategories",
66
+ "@hideconstructor",
69
67
  "@hideGroups",
70
68
  "@ignore",
71
69
  "@interface",
72
70
  "@namespace",
73
71
  "@overload",
72
+ "@private",
73
+ "@protected",
74
74
  "@showCategories",
75
75
  "@showGroups",
76
- "@hideconstructor",
77
76
  ];
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.26.0",
4
+ "version": "0.26.2",
5
5
  "homepage": "https://typedoc.org",
6
6
  "exports": {
7
7
  ".": "./dist/index.js",
@@ -27,7 +27,7 @@
27
27
  "lunr": "^2.3.9",
28
28
  "markdown-it": "^14.1.0",
29
29
  "minimatch": "^9.0.4",
30
- "shiki": "^1.6.5",
30
+ "shiki": "^1.9.0",
31
31
  "yaml": "^2.4.5"
32
32
  },
33
33
  "peerDependencies": {
@@ -44,10 +44,10 @@
44
44
  "eslint": "^9.5.0",
45
45
  "mocha": "^10.4.0",
46
46
  "prettier": "3.3.2",
47
- "puppeteer": "^22.11.0",
47
+ "puppeteer": "^22.12.0",
48
48
  "ts-node": "^10.9.2",
49
- "typescript": "5.5.0-beta",
50
- "typescript-eslint": "^7.13.0"
49
+ "typescript": "5.5.2",
50
+ "typescript-eslint": "^7.13.1"
51
51
  },
52
52
  "files": [
53
53
  "/bin",
package/tsdoc.json CHANGED
@@ -3,10 +3,18 @@
3
3
  // If updating this, also update tsdoc-defaults.ts
4
4
  "noStandardTags": false,
5
5
  "tagDefinitions": [
6
+ {
7
+ "tagName": "@author",
8
+ "syntaxKind": "block"
9
+ },
6
10
  {
7
11
  "tagName": "@module",
8
12
  "syntaxKind": "block"
9
13
  },
14
+ {
15
+ "tagName": "@type",
16
+ "syntaxKind": "block"
17
+ },
10
18
  {
11
19
  "tagName": "@typedef",
12
20
  "syntaxKind": "block"
@@ -92,7 +100,7 @@
92
100
  },
93
101
  {
94
102
  "tagName": "@linkplain",
95
- "syntaxKind": "block",
103
+ "syntaxKind": "inline",
96
104
  "allowMultiple": true
97
105
  },
98
106
  {