Skip to content

Commit 176fb12

Browse files
committed
chore(website): update typedoc to allow recursive types
uses new syntax: TSConfigReader
1 parent c2e8023 commit 176fb12

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"tailwindcss": "^1.4.0",
3838
"tailwindcss-dark-mode": "^1.1.0",
3939
"traverse": "^0.6.6",
40-
"typedoc": "0.15.0",
40+
"typedoc": "~0.19.2",
4141
"typescript": "^3.7.5",
4242
"use-dark-mode": "^2.3.1"
4343
},

website/scripts/generate-typedoc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@
1717

1818
const { readFileSync, unlinkSync } = require('fs');
1919
const path = require('path');
20-
const { Application } = require('typedoc');
20+
const { Application, TSConfigReader } = require('typedoc');
2121

2222
const tempOutput = path.resolve(process.cwd(), 'typedoc.json');
2323
const app = new Application();
24+
app.options.addReader(new TSConfigReader());
2425

2526
module.exports.generateTypedoc = function generateTypedoc() {
2627
console.log(path.resolve(__dirname, '../../tsconfig.json'));

0 commit comments

Comments
 (0)