-
-
Notifications
You must be signed in to change notification settings - Fork 750
Closed
Description
Search terms
Expected Behavior
Typedoc would work with typescript 4.5
Actual Behavior
TypeDoc exiting with unexpected error:
TypeError: context.checker.getTypeOfSymbol is not a function
at Object.convertProperty (/home/julus/Projects/typedoc-test/node_modules/typedoc/dist/lib/converter/symbols.js:370:176)
at convertSymbol (/home/julus/Projects/typedoc-test/node_modules/typedoc/dist/lib/converter/symbols.js:132:88)
at convertSymbols (/home/julus/Projects/typedoc-test/node_modules/typedoc/dist/lib/converter/symbols.js:138:9)
at Object.convertClassOrInterface (/home/julus/Projects/typedoc-test/node_modules/typedoc/dist/lib/converter/symbols.js:301:5)
at convertSymbol (/home/julus/Projects/typedoc-test/node_modules/typedoc/dist/lib/converter/symbols.js:132:88)
at Converter.convertExports (/home/julus/Projects/typedoc-test/node_modules/typedoc/dist/lib/converter/converter.js:188:41)
at /home/julus/Projects/typedoc-test/node_modules/typedoc/dist/lib/converter/converter.js:156:30
at Array.forEach (<anonymous>)
at Converter.compile (/home/julus/Projects/typedoc-test/node_modules/typedoc/dist/lib/converter/converter.js:154:17)
at Converter.convert (/home/julus/Projects/typedoc-test/node_modules/typedoc/dist/lib/converter/converter.js:36:14)
Steps to reproduce the bug
- Clone https://github.com/Julusian/typedoc-test
yarn install(ornpm install)npm run docsoryarn docs
Removing the _duration property from the class Test causes the error to go away, so it is something to do with those private properties
Downgrading typedoc to 0.22.15 avoids this bug
Environment
- Typedoc version: 0.22.16 & 0.23.0-beta.2
- TypeScript version: 4.5.5
- Node.js version: v16.14.0 & v14.19.3
- OS: Ubuntu 20.04/21.10
xylo04, btmurrell and edimitchel
Metadata
Metadata
Assignees
Labels
No labels