You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@ Automatically document symbols which aren't exported but are referenced.
4
4
5
5
> Supports TypeDoc 0.24.x and 0.25.x
6
6
7
-
TypeDoc 0.20 switched from documenting each file individually to documenting based on entry points. TypeDoc looks at each provided entry point and documents all exports from that entry point.
7
+
TypeDoc looks at each entry point provided and documents all exports from that entry point.
8
8
9
9
For libraries which export their full exposed API, this works well, but some packages are extremely resistant to exporting everything. This plugin is for them. After TypeDoc has finished converting packages, it will look for types which are referenced, but not exported, and place them into an internal module for that entry point (called `<internal>` by default).
10
10
11
-
If your project references classes which are built into the language (e.g. `HTMLElement`), this package _will_ result in those types being documented to. If you want to prevent this, set TypeDoc's `excludeExternals` option to `true`. The default pattern for determining if a symbol is external will exclude everything within `node_modules`.
11
+
If your project references classes which are built into the language (e.g. `HTMLElement`), this package _will_ result in those types being documented too. If you want to prevent this, set TypeDoc's `excludeExternals` option to `true`. The default pattern for determining if a symbol is external will exclude everything within `node_modules`.
@@ -82,10 +79,28 @@ export function load(app: Application) {
82
79
83
80
app.options.addDeclaration({
84
81
name: "internalModule",
85
-
help: "Define the name of the module that internal symbols which are not exported should be placed into.",
82
+
help: "[typedoc-plugin-missing-exports] Define the name of the module that internal symbols which are not exported should be placed into.",
86
83
defaultValue: "<internal>",
87
84
});
88
85
86
+
app.options.addDeclaration({
87
+
name: "placeInternalsInOwningModule",
88
+
help: "[typedoc-plugin-missing-exports] If set internal symbols will not be placed into an internals module, but directly into the module which references them.",
0 commit comments