Skip to content

Commit 8060afd

Browse files
committed
Reproducing bug #2811
Requires entryPointStrategy expand and the following import structure: file 1 exports something file 2 re-exports this file 3 re-exports everything from file 2 but is marked as "@ignore"
1 parent 1e7071f commit 8060afd

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

src/index-debug.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* @module
3+
* @ignore
4+
*/
5+
6+
export * from "./index";

src/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
/**
2-
* Some code reproducing a bug.
3-
*/
4-
export const bug = 123;
1+
export { settings } from "./settings";

src/settings.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export const settings = {
2+
someSetting: false,
3+
};

typedoc.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"$schema": "https://typedoc.org/schema.json",
3-
"entryPoints": ["src/index.ts"],
4-
5-
"treatWarningsAsErrors": true,
6-
"out": "docs",
7-
"json": "docs/docs.json"
2+
"$schema": "https://typedoc.org/schema.json",
3+
"entryPoints": ["src/"],
4+
"entryPointStrategy": "expand",
5+
"treatWarningsAsErrors": true,
6+
"out": "docs",
7+
"json": "docs/docs.json"
88
}

0 commit comments

Comments
 (0)