Skip to content

Commit 504787d

Browse files
fix(typedoc): warning when not using the 'exclude' option (#318)
fix-warning
1 parent 2a0af45 commit 504787d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/rare-dots-draw.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@tanstack/typedoc-config': patch
3+
---
4+
5+
fix: warning when not using the 'exclude' option

packages/typedoc-config/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const generateReferenceDocs = async (options) => {
4545
gitRevision: options.gitBranch ?? 'main',
4646
entryPoints: pkg.entryPoints,
4747
tsconfig: pkg.tsconfig,
48-
exclude: pkg.exclude,
48+
exclude: pkg.exclude ?? [],
4949
out: pkg.outputDir,
5050
})
5151

0 commit comments

Comments
 (0)